Skip to content

Commit

Permalink
refactor/Updated vue.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Kluge Svendsrud authored and Andreas Kluge Svendsrud committed Sep 11, 2024
1 parent a2c3019 commit df3a2d3
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions vue.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
import { defineConfig } from '@vue/cli-service'

export default defineConfig({
transpileDependencies: true,
publicPath: process.env.NODE_ENV === 'production' ? '/my-calculator/' : '/'
})
module.exports = {
publicPath: process.env.NODE_ENV === "production" ? "/my-calculator/" : "/",
};

0 comments on commit df3a2d3

Please sign in to comment.