Browse Source

chore: update vitejs config to deploy on the same default port as the @vue/cli-service

This port is 8080. This is done to not break existing tooling and devops code.
kb/add-usage-guide
Jason Buchanan 6 months ago
parent
commit
01b5ca6ec8
No known key found for this signature in database GPG Key ID: 1A12361012426318
  1. 3
      vite.config.mjs

3
vite.config.mjs

@ -4,6 +4,9 @@ import * as path from "path";
// https://vitejs.dev/config/ // https://vitejs.dev/config/
export default defineConfig({ export default defineConfig({
server: {
port: 8080
},
plugins: [ vue() ], plugins: [ vue() ],
resolve: { resolve: {
alias: { alias: {

Loading…
Cancel
Save