Skip to content

Commit 115e796

Browse files
author
John Lindquist
committed
updating packages and minor code-style changes
1 parent aa5f39a commit 115e796

File tree

9 files changed

+7550
-4385
lines changed

9 files changed

+7550
-4385
lines changed

template/api/index.ts

Lines changed: 0 additions & 7 deletions
This file was deleted.

template/api/people.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import axios from "~plugins/axios"
2+
3+
export const getPeople = async (total = 10) =>
4+
(await axios.get('/random-data.json')).data.slice(0, total)
5+

template/nuxt.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module.exports = {
33
baseUrl: process.env.BASE_URL || 'http://localhost:3000'
44
},
55
head: {
6-
title: 'starter',
6+
title: 'nuxt-typescript-starter',
77
meta: [
88
{ charset: 'utf-8' },
99
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },

0 commit comments

Comments
 (0)