nuxt初始化
This commit is contained in:
48
nuxt-web/README.md
Normal file
48
nuxt-web/README.md
Normal file
@@ -0,0 +1,48 @@
|
||||
# nuxt-web
|
||||
|
||||
This directory is the new Nuxt 3 application for the AgWeb migration.
|
||||
|
||||
## Boundary
|
||||
|
||||
- Write all new application code here.
|
||||
- Do not modify the legacy root-level static site files during migration.
|
||||
- Use the root-level static files as read-only reference sources.
|
||||
|
||||
## Purpose
|
||||
|
||||
`nuxt-web/` will eventually contain:
|
||||
|
||||
- Nuxt application config
|
||||
- pages
|
||||
- layouts
|
||||
- components
|
||||
- composables
|
||||
- content collections
|
||||
- public assets
|
||||
- verification scripts
|
||||
|
||||
## Bootstrap Entry Points
|
||||
|
||||
Planning references:
|
||||
|
||||
- `../docs/plan-nuxt-migration/task-2-bootstrap-steps.md`
|
||||
- `../docs/plan-nuxt-migration/source-reference-workflow.md`
|
||||
- `../docs/plan-nuxt-migration/verification-matrix.md`
|
||||
|
||||
Scripts:
|
||||
|
||||
- `scripts/init-nuxt-foundation.sh`
|
||||
- `scripts/verify-generated-site.sh`
|
||||
|
||||
## Expected Workflow
|
||||
|
||||
1. Bootstrap the Nuxt foundation in this directory.
|
||||
2. Add shared assets and shared shell components.
|
||||
3. Migrate content collections.
|
||||
4. Migrate page batches.
|
||||
5. Wire SEO, prerender, and redirects.
|
||||
6. Run generated-site smoke tests.
|
||||
|
||||
## Current Status
|
||||
|
||||
This directory is intentionally minimal and is being prepared before the first real framework bootstrap.
|
||||
Reference in New Issue
Block a user