svelte-material-ui
svelte-material-ui copied to clipboard
what is "svelte-material-ui": "^7.0.0",
this is a question not a bug report. I am looking at an existing project and it has
"svelte-material-ui": "^7.0.0",
in dependencies. I am trying to understand if:
- is this needed since I don't find mention of it in the installation instructions?
- further is this supposed to be a
dependencyvsdevDependency?
That package just pulls in every other package. It's not necessary unless you need the bare.css file that has everything.
So whether you use dependency or devDependency depends on your setup. For most Svelte projects, you'll use devDependency, since there's a build step that packages everything. But you may also need to use dependency if you need the bare.css files in your node_modules in production.