Open The-Real-Thisas opened 1 year ago
The same thing happened when I did import Snackbar from '@smui/snackbar'
in my sveltekit project.
Vite needs to optimise your dependencies. You need run npm run dev
again after you have installed a new @smui
component.
npm run dev
Describe the bug The @smui/linear-progress package in particular gives,
Similar to: Error of Unknown file extension ".svelte" in SvelteKit #375 BUT limited to this one package, the rest work fine.
To Reproduce Steps to reproduce the behavior:
Expected behavior It will work like the demo in the docs.
but I get this ??
Desktop (please complete the following information):
Using it almost exactly as the example shows.