mirror of
https://github.com/h44z/wg-portal.git
synced 2026-06-13 11:56:57 +00:00
Remove hardcoded `--base=/app/` from npm build script and set `base: './'` in vite.config to generate relative asset URLs Update server `updateBasePathInFrontend` to handle relative paths Fixes #710 Signed-off-by: Rich C <richcarni@gmail.com>
frontend
This template should help get you started developing with Vue 3 in Vite.
Recommended IDE Setup
VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).
Customize configuration
See Vite Configuration Reference.
Project Setup
npm install
Compile and Hot-Reload for Development
npm run dev
Compile and Minify for Production
npm run build