Current branch deployed: templates/with-manual-form-and-vee-validate
This template should help get you started developing with Vue 3 in Vite.
It is an opinionated template that uses:
The boilerplate contains .bashrc
file with handy commands for Supabase CLI and more. To use it, run:
source .bashrc
You can install Supabase CLI with Scoop.
You'll need to create and fill a .env
file from the .env.prod
available.
You'll need to create an account on Supabase to fill the following variables.
The values for Supabase variables are found under Project Settings blade > API blade
in your project dashboard:
VITE_SUPABASE_URL
VITE_SUPABASE_KEY
VITE_SUPABASE_PROJECT_SERVICE_ROLE
IMPORTANT: some changes are planned in 2025 regarding API keys.
The VITE_TESTING_USER_EMAIL
is used to seed the database.
The SUPABASE_PROJECT_ID
is used to run the custom commands sp-link-env
and sp-gen-types
on your local machine. See .bashrc
.
The SUPABASE_PROJECT_PASSWORD
is used to run the custom command sp-link-env
on your local machine. See .bashrc
.
The values for hCaptcha variables are found on your account:
VITE_HCAPTCHA_SECRET
VITE_HCAPTCHA_SITEKEY
VSCode + Volar (and disable Vetur).
.vue
Imports in TSTypeScript cannot handle type information for .vue
imports by default, so we replace the tsc
CLI with vue-tsc
for type checking. In editors, we need Volar to make the TypeScript language service aware of .vue
types.
See Vite Configuration Reference.
npm install
# Or
npm i
npm run dev
# Or, if using the .bashrc
nd
npm run build
# Or, if using the .bashrc
nb
npm run lint
To use Semantic Release, you need to follow this complete guide to create your GitHub App installed on your account only to give it force-push rights when semantic-release
workflow runs.
Or you can simply use the tag-release.sh
script in the repository root, for a simplier but manual step.