Awesome
vite-alpine
This is another vite template based on the vanilla template with added alpinejs
Test this template in github-pages
to start
Run the following commands
Install dependencies once:
npm install
Start dev server
npm run dev
Build a bundle (generated in the dist folder):
npm run dist
how was this made?
- Follow the steps to create a
vanilla
project https://vitejs.dev/guide/#scaffolding-your-first-vite-project - Follow the steps to install alpinejs as a module https://alpinejs.dev/essentials/installation#as-a-module
- Modify the project to use Alpine instead of vanilla javascript.