File tree Expand file tree Collapse file tree 4 files changed +13
-18
lines changed Expand file tree Collapse file tree 4 files changed +13
-18
lines changed Original file line number Diff line number Diff line change 44
44
"release" : " bumpp --commit --push --tag && npm publish" ,
45
45
"prepare" : " nr build && nuxi prepare playground"
46
46
},
47
- "peerDependencies" : {
48
- "http-proxy-middleware" : " >=3.0.0"
49
- },
50
47
"dependencies" : {
51
48
"@nuxt/kit" : " 3.0.0-rc.4" ,
52
49
"dedent" : " ^0.7.0" ,
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<div >
3
- Hello world
3
+ < NuxtPage />
4
4
</div >
5
5
</template >
Original file line number Diff line number Diff line change
1
+ <script setup lang="ts">
2
+ const { data } = useFetch <{ id: number ; title: string }[]>(' http://localhost:3000/api/todos' )
3
+ </script >
4
+
5
+ <template >
6
+ <ul >
7
+ <li v-for =" t in data" :key =" t.id" >
8
+ {{ t.title }}
9
+ </li >
10
+ </ul >
11
+ </template >
Original file line number Diff line number Diff line change 1
1
{
2
- "compilerOptions" : {
3
- "target" : " ESNext" ,
4
- "module" : " ESNext" ,
5
- "moduleResolution" : " node" ,
6
- "esModuleInterop" : true ,
7
- "strict" : true ,
8
- "resolveJsonModule" : true ,
9
- "allowSyntheticDefaultImports" : true ,
10
- "strictNullChecks" : true ,
11
- "skipLibCheck" : true ,
12
- "skipDefaultLibCheck" : true ,
13
- "allowJs" : true ,
14
- "noEmit" : true
15
- }
2
+ "extends" : " ./playground/.nuxt/tsconfig.json"
16
3
}
You can’t perform that action at this time.
0 commit comments