Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the config to vue-cli2.0 is not working #98

Open
icemirror opened this issue Jul 14, 2019 · 3 comments
Open

the config to vue-cli2.0 is not working #98

icemirror opened this issue Jul 14, 2019 · 3 comments
Labels

Comments

@icemirror
Copy link

icemirror commented Jul 14, 2019

// package.json
"dependencies": {
...
"vue": "^2.5.2"
},
"devDependencies": {
"sass-resources-loader": "^1.3.5",
"webpack": "^3.6.0"
}
// build/utils.js

return {
...
scss: generateLoaders('sass').concat({
loader:'sass-resources-loader',
options:{
resources: path.resolve(__dirname, '../src/assets/css/_colors.scss')
}
}),
...
}

there is error report:

Module build failed:
border-top: 1px solid $border-color--light;
^
Undefined variable: "$border-color--light".

thanks for your valuable time.

@justin808
Copy link
Member

@icemirror any update?

@Mimiokish
Copy link

mark, having same problem with vue cli 2.0 don't know how to config in chainWebpack

@justin808
Copy link
Member

I don't use Vue. I'm open to PRs to fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants