Vue.js starter template
Vue 3 starter template with Vite and Tailwind CSS
Features:
- ? Vue 3
- ⚡️ Vite
- ? PNPM
- ? Vue Router
- ? Tailwind CSS
- ? Eslint with airbnb and stylelint
- ? Light and dark mode composable
- ? Inter var font
- ? Github pages action
Getting Started
Scaffold this repository
pnpx degit lecoueyl/vue3-template my-project
cd my-project
Install and start dev server
pnpm install
pnpm run dev
Deployment
Netlify
Github pages
The default github action will build to gh-page
when pushing on main
branch.
For a project page, the base path of the repository must be specified. Add the following secret in the Github repository Settings > Secrets > Actions
Name | Value |
---|---|
VITE_BASE_PUBLIC_PATH | /repository-name/ |