Skip to content

Commit bcceb54

Browse files
committed
fix postcss bug
1 parent c51c7fe commit bcceb54

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

src/App.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,8 @@ export default {
99
name: 'app'
1010
}
1111
</script>
12+
<style lang="scss">
13+
@import './styles/index.scss'; // 全局自定义的css样式
14+
</style>
15+
1216

src/main.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import ElementUI from 'element-ui'
88
import 'element-ui/lib/theme-default/index.css'
99
import NProgress from 'nprogress'
1010
import 'normalize.css/normalize.css'
11-
import '@/styles/index.scss' // 全局自定义的css样式
1211
import '@/assets/iconfont/iconfont'
1312
import IconSvg from '@/components/Icon-svg/index.vue'
1413

src/styles/index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@import './element-ui.scss';
2-
@import "./mixin.scss";
2+
@import './mixin.scss';
33
body {
44
-moz-osx-font-smoothing: grayscale;
55
-webkit-font-smoothing: antialiased;

0 commit comments

Comments
 (0)