This repository was archived by the owner on Sep 26, 2022. It is now read-only.
This repository was archived by the owner on Sep 26, 2022. It is now read-only.
Error: Can't find stylesheet to import; @import 'material-theme'; #102
Closed
Description
I am trying to use this component system with the current version of the Svelte template:
https://github.com/sveltejs/template
However I am getting an error:
$ npm run dev
> svelte-app@1.0.0 dev
> rollup -c -w
rollup v2.36.1
bundles src/main.js → public/build/bundle.js...
[!] (plugin svelte) Error: Can't find stylesheet to import.
╷
58 │ @import 'material-theme';
│ ^^^^^^^^^^^^^^^^
╵
node_modules/svelte-materialify/src/styles/_variables.scss 58:9 @import
node_modules/svelte-materialify/src/components/Grid/Container.svelte 2:11 root stylesheet
I compared with your older template from here
https://github.com/TheComputerM/svelte-materialify-template
and the difference seems to be mainly this import in the rollup:
import css from 'rollup-plugin-css-only';
and a file called theme/_material-theme.scss
I could not get it to run though.
Any ideas?
Metadata
Metadata
Assignees
Labels
No labels