Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
143790 | Apr 4,2019 07:34 PM UTC | Apr 5,2019 12:13 PM UTC | Vue | 3 |
![]() |
Tags: General |
@import "./node_modules/@syncfusion/ej2-base/styles/material.scss";
@import "./node_modules/@syncfusion/ej2-buttons/styles/button/material.scss";
Module build failed (from ./node_modules/sass-loader/lib/loader.js):
@import 'ej2-base/styles/material-definition.scss';
^
File to import not found or unreadable: ej2-base/styles/material-definition.scss.
module: {
rules: [
....
....
{
test: /\.vue$/,
loader: 'vue-loader',
options: {
loaders: {
// Since sass-loader (weirdly) has SCSS as its default parse mode, we map
// the "scss" and "sass" values for the lang attribute to the right configs here.
// other preprocessors should work out of the box, no loader config like this necessary.
'scss': [
'vue-style-loader',
'css-loader',
{
loader: "sass-loader",
options: {
includePaths: [
]
}
}
]
....
....
}
}
}
....
....
]
}
|
<style lang="scss">
</style>
|
<style lang="scss">
// for example, we have override our variable color here
$accent: black;
// syncfusion styles
</style>
|
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.