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 4444 "release" : " bumpp --commit --push --tag && npm publish" ,
4545 "prepare" : " nr build && nuxi prepare playground"
4646 },
47- "peerDependencies" : {
48- "http-proxy-middleware" : " >=3.0.0"
49- },
5047 "dependencies" : {
5148 "@nuxt/kit" : " 3.0.0-rc.4" ,
5249 "dedent" : " ^0.7.0" ,
Original file line number Diff line number Diff line change 11<template >
22 <div >
3- Hello world
3+ < NuxtPage />
44 </div >
55</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 11{
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"
163}
You can’t perform that action at this time.
0 commit comments