Skip to content

Latest commit

 

History

History
56 lines (44 loc) · 817 Bytes

README.md

File metadata and controls

56 lines (44 loc) · 817 Bytes

hacktoberfest & ortoberfest 2019

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run your tests

npm run test

Lints and fixes files

npm run lint

Run your unit tests

npm run test:unit

Customize configuration

See Configuration Reference.


For Dev

  1. Open vue.config.js.
  2. 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]
    })
  },
  1. Remove comments for production.