You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 30, 2020. It is now read-only.
SassError: File to import not found or unreadable: @material/elevation/mixins.
on line 23 of node_modules/@material/button/_mixins.scss
from line 23 of node_modules/@material/button/mdc-button.scss
from line 1 of node_modules/material-components-vue/dist/button/styles.scss
from line 15 of /Users/ccleve/temp/foop/myfoop/pages/hello.vue
>> @import "@material/elevation/mixins";
It appears to have something to do with the sass-loader not being able to resolve paths. A bit of googling finds the error, but none of the solutions for configuring sass-loader in Nuxt seem to work.
Expected behavior
I expect the material package to be able to resolve its own dependencies.
Desktop (please complete the following information):
Mac
Firefox
The text was updated successfully, but these errors were encountered:
Describe the bug
This is similar to #529. It does not seem possible to get paths to resolve when using Nuxt.
To Reproduce
https://matsp.github.io/material-components-vue/guide/#bundler-usage
npm install --save material-components-vue
Then put the exact Hello component as hello.vue in /pages.
The compiler will generate this error:
It appears to have something to do with the sass-loader not being able to resolve paths. A bit of googling finds the error, but none of the solutions for configuring sass-loader in Nuxt seem to work.
Expected behavior
I expect the material package to be able to resolve its own dependencies.
Desktop (please complete the following information):
Mac
Firefox
The text was updated successfully, but these errors were encountered: