正在回答 回答被采纳积分+1
2回答
Brian
2024-07-17 22:25:19
把你的代码上传,我看看~~
我自己初始化了一下,好像没有问题。
~/Downloads/tmp 🐳 v26.1.4 🅒 py311 ➜ pnpm dlx nuxi@latest init nuxt3 Packages: +2 ++ Progress: resolved 2, reused 2, downloaded 0, added 2, done ✔ Which package manager would you like to use? pnpm ◐ Installing dependencies... 22:24:36 WARN 7 deprecated subdependencies found: are-we-there-yet@2.0.0, gauge@3.0.2, glob@7.2.3, glob@8.1.0, inflight@1.0.6, npmlog@5.0.1, rimraf@3.0.2 Packages: +611 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Progress: resolved 704, reused 534, downloaded 77, added 611, done node_modules/.pnpm/esbuild@0.23.0/node_modules/esbuild: Running postinstall scrinode_modules/.pnpm/esbuild@0.23.0/node_modules/esbuild: Running postinstall script, done in 335ms > nuxt-app@ postinstall /Users/toimc/Downloads/tmp/nuxt3 > nuxt prepare ✔ Types generated in .nuxt 22:24:45 dependencies: + nuxt 3.12.3 + vue 3.4.32 Done in 8.7s ✔ Installation completed. 22:24:45 ✔ Initialize git repository? Yes ℹ Initializing git repository... 22:24:48 Initialized empty Git repository in /Users/toimc/Downloads/tmp/nuxt3/.git/ 22:24:48 ✨ Nuxt project has been created with the v3 template. Next steps: › cd nuxt3 22:24:48 › Start development server with pnpm run dev 22:24:48 ~/Downloads/tmp 🐳 v26.1.4 🅒 py311 22.2s ➜ cd nuxt3 nuxt3 main [?] ⬢ v20.11.1 🅒 py311 ➜ pnpm dev > nuxt-app@ dev /Users/toimc/Downloads/tmp/nuxt3 > nuxt dev Nuxt 3.12.3 with Nitro 2.9.7 22:24:58 22:24:58 ➜ Local: http://localhost:3000/ ➜ Network: use --host to expose ➜ DevTools: press Shift + Option + D in the browser (v1.3.9) 22:24:59 ℹ Vite server warmed up in 731ms 22:25:00 ✔ Nuxt Nitro server built in 705 ms nitro 22:25:00 ℹ Vite client warmed up in 1074ms 22:25:00
一切正常~~~
前端高级工程师(大前端)
- 参与学习 297 人
- 解答问题 366 个
全新打造“技术成长&职业破局”双高体系,深度打通“全栈 + 全流程 +多端+ 提效+AI赋能”,递进式锤炼思维与高阶技能,高效实现能力跃迁,助力成为“驾驭全局,深广兼备,打通多端全栈”的高级工程师
了解课程
恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星