Template repository for Vite.
Includes:
- SCSS plugin
- Prettier plugin
- ESLint plugin
- TypeScript
- Vitest
- Multi-page support
- Environment variables
- Event Emitter
- LilGui - debug UI
- GitHub CI/CD workflow
# Install dependencies
npm install
# For pre-commit hooks, run once
npm install husky
# Build
npm run build:github # For GitHub Pages
npm run build:crazy # For Crazy Games
npm run build:itch # For Itch.io
# Run development server
npm run dev
# Run preview server
npm run preview
# format code
npm run format
Once it is cloned make sure you enable permissions
Settings > Actions > General
make sure in Workflow permissions Read and Write is granted
Just create a new release
- Navigate to Releases
- Click Choose a tag
- Type your tag name similarly to
v1.0.0
(increment the last version) - Click create new tag (plus button)
- Click Publish release
Pipeline is going to run and deploy the application