Skip to content
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

what is "svelte-material-ui": "^7.0.0", #667

Open
siddhsql opened this issue Oct 9, 2024 · 2 comments
Open

what is "svelte-material-ui": "^7.0.0", #667

siddhsql opened this issue Oct 9, 2024 · 2 comments
Labels
question Further information is requested

Comments

@siddhsql
Copy link

siddhsql commented Oct 9, 2024

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:

  1. is this needed since I don't find mention of it in the installation instructions?
  2. further is this supposed to be a dependency vs devDependency?
@siddhsql siddhsql added the bug Something isn't working label Oct 9, 2024
@hperrin hperrin added question Further information is requested and removed bug Something isn't working labels Oct 9, 2024
@hperrin
Copy link
Owner

hperrin commented Oct 9, 2024

That package just pulls in every other package. It's not necessary unless you need the bare.css file that has everything.

@hperrin
Copy link
Owner

hperrin commented Oct 9, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants