-
-
Notifications
You must be signed in to change notification settings - Fork 283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Step-by-Step Guide for Installation #36
Comments
I'm not sure what you mean. It's gotta have a bundler to use the Sass files. There are |
I will try to go into more detail on installation though, since it is a bit complex. |
Yeah exactly, a more detailed guide for how to install the preprocesser/other necessary stuff to get it working with the normal Svelte install would be awesome. |
Could you also include instructions for using this with Sapper? :) |
Hi everyone, I got this working with sapper like:
|
@danielquintero Nice, I couldn't get it working so migrated to web pack but tempted to move back now if it works. |
@danielquintero thank you so much, the tip about using |
I found that if I don't have the exact versions of postcss as mentioned in this comment, I get a bunch of errors about So, those that are using svelte-material-ui with rollup and sapper have to be very careful with the versions. But, I did get it working. |
I was having a lot of trouble just trying to use icon-buttons, but it seems that despite it depending on @material/icon-button ... because npm is installing that inside the packages, rollup's resolve can't find them. I had to use "npm ls @material/icon-button" to find which version it wanted, and explicitly install that version myself. Without it installed I got:
With the wrong version installed, I got:
|
I had the same experience as @funkybob here (not a very pleasant one) Does anyone know a way we could do this without explicitly installing all the |
I had this error These are my dependencies:
I had to change |
I made it work using the help given above by @danielquintero, thanks to you. @hperrin, first, thanks for library. 👍
By reading this, I would not have succeeded in producing alone the piece of code given by @danielquintero. Anyway, thanks for library. HOW TO MAKE IT WORK
My package.json :
|
Is there a working set of instructions for a regular svelte app? I am not ready to switch to sapper yet and have not been able to import a simple |
@FunMiles There are the webpack and rollup examples that are linked to in the Usage section of the readme: |
There are now much more thorough installation instructions on the website and in the repo. They go over how to install and setup SMUI in Rollup, Webpack, Sapper, and the REPL. |
It would be great to have a more detailed guide on how to add this library to a clean Svelte installation. I'm not super comfortable messing around with rollup or the config files, I would love to be able to follow a guide that sets it up for a clean Svelte install.
This is an awesome addition to Svelte, by the way, thank you!
(Similar to #23)
The text was updated successfully, but these errors were encountered: