vikignt / svelte-mui

Simple Svelte 3 UI components
MIT License
318 stars 38 forks source link

Template for sapper #16

Closed manuel3108 closed 4 years ago

manuel3108 commented 4 years ago

I am trying to use this awesome package with sapper. As of #1 apparently it is possible to use it.

Do you have any working template? It would be really nice to have one or get an hint to what we need to do to get it working

vikignt commented 4 years ago

Please upgrade svelte-mui to version 0.3.0 and import components from svelte-mui/src. Notify me if there are any problems.

manuel3108 commented 4 years ago

I just tried it, but I am still getting the same error. Do you have any other idea?

vikignt commented 4 years ago

I created an example sapper-mui from the template and then added a svelte-mui package. Try

git clone https://github.com/vikignt/sapper-mui.git
cd sapper-mui
npm ci
npm run dev
manuel3108 commented 4 years ago

Thanks, this is working now. I used the webpack-template, thats propably the difference. I think that npm ci is not necessary as its not in the package.json

Thanks for your help :D.

It might be helpful to link this repository in your readme

vikignt commented 4 years ago

I'm gonna try to repeat svelte-mui/example only with a sapper