Fix conding style errors (unused vars, quotes)

parent 7a932e9f
const path = require('path') const path = require('path')
const webpack = require('webpack')
const vueConfig = require('./vue-loader.config') const vueConfig = require('./vue-loader.config')
module.exports = { module.exports = {
......
...@@ -26,8 +26,8 @@ if (process.env.NODE_ENV === 'production') { ...@@ -26,8 +26,8 @@ if (process.env.NODE_ENV === 'production') {
// so they are extracted. // so they are extracted.
vueConfig.loaders = { vueConfig.loaders = {
stylus: ExtractTextPlugin.extract({ stylus: ExtractTextPlugin.extract({
loader: "css-loader!stylus-loader", loader: 'css-loader!stylus-loader',
fallbackLoader: "vue-style-loader" // <- this is a dep of vue-loader fallbackLoader: 'vue-style-loader' // <- this is a dep of vue-loader
}) })
} }
......
import Vue from 'vue' import Vue from 'vue'
import Vuex from 'vuex' import Vuex from 'vuex'
import { fetchItem, fetchItems, fetchIdsByType, fetchUser } from './api' import { fetchItems, fetchIdsByType, fetchUser } from './api'
Vue.use(Vuex) Vue.use(Vuex)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment