Closed w11p3333 closed 7 years ago
ok I found a way to use scss
in .vue
<style lang="sass">
@import './index.scss'
</style>
now you can use .scss
In case anybody else finds this, the thing that solved it for me is:
{
test: /\.vue(\?[^?]+)?$/,
loaders: 'weex-loader',
options: {
loaders: {
'scss': ['weex-vue-loader/lib/style-loader','sass-loader']
}
}
}
There is no problem using
stylus
in.vue
in
webpack.conf.js
seems it will auto find
stylus-loader
butscss
usesass-loader
, how to alias it?And how to use
vue-i18n
? thevue
way isThanks