npm install
npm run serve
npm run build
npm run test
npm run lint
npm run test:unit
- Open
vue.config.js
. - Comment out the following lines.
publicPath: process.env.NODE_ENV === 'production'
? '/hacktoberfest/'
: '/',
chainWebpack: config => {
config.plugin('optimize-css').tap(([options]) => {
options.cssnanoOptions.preset[1].svgo = false
return [options]
})
},
- Remove comments for production.