Closed
Description
Version
3.5.1
Environment info
Environment Info:
System:
OS: macOS 10.14.3
CPU: (8) x64 Intel(R) Core(TM) i7-4960HQ CPU @ 2.60GHz
Binaries:
Node: 11.11.0 - /usr/local/bin/node
Yarn: Not Found
npm: 6.7.0 - /usr/local/bin/npm
Browsers:
Chrome: 72.0.3626.121
Firefox: 63.0.1
Safari: 12.0.3
npmGlobalPackages:
@vue/cli: 3.5.1
Steps to reproduce
Create a new vue app via vue-cli, selecting 'dart-sass' as preprocessor.
What is expected?
A vue.config.js file should be created to properly 'require' the sass install.
What is actually happening?
No vue.config.js is created. Attempting to build or serve fails, as discovered in #3623.
Adding the following file to the project solves the problem:
/* vue.config.js */
module.exports = {
css: {
loaderOptions: {
sass: {
implementation: require('sass')
}
}
}
}
Metadata
Metadata
Assignees
Labels
No labels