1. Installation dependency:npm install node-sass sass-loader -D

2. webpack.base.conf.js file

  module: {


{ // Add this item manually, So compile and identifysass! test: /\.scss$/, loaders: ["style", "css", "sass"]}


 }

3. stay.vue Used in files


<style scoped lang="scss"> .box{ width: 100%; :hover{ color: red; } } </style>