- Created .gitignore to exclude build outputs, logs, and environment files. - Added nuxt.config.ts for project configuration, enabling Tailwind CSS and Pinia modules. - Initialized package.json with scripts for development and production, and added necessary dependencies. - Generated pnpm-lock.yaml for dependency management. - Created README.md with setup instructions and development guidelines. - Implemented server API examples in server/api/ directory, demonstrating various use cases. - Added middleware for logging requests and responses. - Included example Vue components and pages for server API interaction. - Established basic project structure for Nuxt 4 application development.
20 lines
392 B
JSON
20 lines
392 B
JSON
{
|
|
"name": "my-app",
|
|
"type": "module",
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "nuxt build",
|
|
"dev": "nuxt dev",
|
|
"generate": "nuxt generate",
|
|
"preview": "nuxt preview",
|
|
"postinstall": "nuxt prepare"
|
|
},
|
|
"dependencies": {
|
|
"@nuxtjs/tailwindcss": "6.14.0",
|
|
"@pinia/nuxt": "0.11.3",
|
|
"nuxt": "^4.4.2",
|
|
"vue": "^3.5.32",
|
|
"vue-router": "^5.0.4"
|
|
}
|
|
}
|