diff --git a/build/webpack.config.js b/build/webpack.config.js index aae4d37..b14b175 100644 --- a/build/webpack.config.js +++ b/build/webpack.config.js @@ -19,7 +19,7 @@ module.exports = (env, argv) => { devtool: isDev ? 'inline-source-map' : false, watch: isDev, entry: { - app: path.resolve(SRC, 'scripts', 'app.js') + app: path.resolve(SRC, 'app.js') }, output: { path: DIST, @@ -93,9 +93,11 @@ module.exports = (env, argv) => { new VueLoaderPlugin() ], resolve: { - extensions: ['.js', '.vue', '...'], + extensions: ['.vue', '.scss', '...'], alias: { - '@scripts': path.resolve(SRC, 'scripts') + '@components': path.resolve(SRC, 'components'), + '@scripts': path.resolve(SRC, 'scripts'), + '@styles': path.resolve(SRC, 'styles') } } }; diff --git a/src/Spot.vue b/src/Spot.vue index 6e20722..75ac31b 100644 --- a/src/Spot.vue +++ b/src/Spot.vue @@ -1,7 +1,7 @@