1
0
Files
ag-index/nuxt-web/BOOTSTRAP_NOTES.md
2026-04-20 09:45:20 +08:00

32 lines
894 B
Markdown

# Bootstrap Notes
Use this file as the short operational companion to the planning docs when initializing `nuxt-web/`.
## Preconditions
- Branch: `feat/nuxt-migration`
- Planning docs under `../docs/plan-nuxt-migration/` have been reviewed
- Root-level static files remain untouched
## Bootstrap Order
1. Create the Nuxt seed in `/tmp/agweb-nuxt-seed`
2. Copy only the framework baseline into `nuxt-web/`
3. Rewrite dependencies for AgWeb
4. Install packages inside `nuxt-web/`
5. Add the minimal app shell
6. Verify:
- `cd nuxt-web && npm run dev`
- `cd nuxt-web && npm run generate`
## Do Not
- Do not copy `node_modules/` or `.output/` from the seed
- Do not modify root-level legacy HTML, CSS, JS, or images
- Do not start page migration before bootstrap verification passes
## Script Entry Points
- `./scripts/init-nuxt-foundation.sh`
- `./scripts/verify-generated-site.sh`