This template should help get you started developing with Vue 3 in Vite.
VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).
First, you need to copy .env.example
as .env.development.local
. The environment variables explanation is as follows:
VITE_API_PROXY
is to enable proxy to a API backend.VITE_MONITOR_PROXY
is to enable proxy to a monintor backend.
Example .env.development.local
is as the following:
VITE_API_PROXY=http://127.0.0.1:17913
VITE_MONITOR_PROXY=http://127.0.0.1:2121
npm install
npm run dev
npm run format
npm run build