Commit ee2ce4930093401e30e34a002875fdd938dbfced
1 parent
027ae453
项目初始化
Showing
4 changed files
with
5 additions
and
11 deletions
build/webpack.base.conf.js
@@ -64,14 +64,7 @@ module.exports = { | @@ -64,14 +64,7 @@ module.exports = { | ||
64 | } | 64 | } |
65 | }, | 65 | }, |
66 | { | 66 | { |
67 | - test: /\.scss$/, | ||
68 | - use: [{ | ||
69 | - loader: "style-loader" // creates style nodes from JS strings | ||
70 | - }, { | ||
71 | - loader: "css-loader" // translates CSS into CommonJS | ||
72 | - }, { | ||
73 | - loader: "sass-loader" // compiles Sass to CSS | ||
74 | - }] | 67 | + test:/\.scss$/,use:['style-loader','css-loader','sass-loader'], |
75 | } | 68 | } |
76 | ] | 69 | ] |
77 | }, | 70 | }, |
src/App.vue
src/components/commonHeaderFooter/VFooter.vue
1 | <template> | 1 | <template> |
2 | - <div>1</div> | 2 | + <div>2</div> |
3 | </template> | 3 | </template> |
4 | 4 | ||
5 | <script> | 5 | <script> |
@@ -8,6 +8,6 @@ export default { | @@ -8,6 +8,6 @@ export default { | ||
8 | } | 8 | } |
9 | </script> | 9 | </script> |
10 | 10 | ||
11 | -<style scoped lang="scss"> | 11 | +<style scoped lang=""> |
12 | 12 | ||
13 | </style> | 13 | </style> |