Skip to content
This repository was archived by the owner on May 12, 2020. It is now read-only.

Commit 6ae3917

Browse files
committed
build: mutate publicPath to './' for more flexibility
1 parent a3edc11 commit 6ae3917

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

vue.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ const PATH = require('./config/path')
44
const __DEV__ = process.env.NODE_ENV === 'development'
55

66
module.exports = {
7-
publicPath:
8-
process.env.NODE_ENV === 'production' ? '/adminize-template/' : '/',
7+
publicPath: './',
98
productionSourceMap: false, // turn off source map
109
configureWebpack(config) {
1110
if (!__DEV__) {

0 commit comments

Comments
 (0)