STEP LC Router:
- installazione vite;
- add sass (in caso serva);
- install router;
- npm install;
- pulizia componenti (per option API e creazione nuovi statici [header e footer]);
- inclusione in App;
- inserimento component router in App;
- creazione page folder e 2 page;
- creazione router.js;
- import router in main.js;
- aggiunta notFound (in pages e router);
- aggiunta router-links.
This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 <script setup>
SFCs, check out the script setup docs to learn more.
- VS Code + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).