You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-1
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,9 @@ Reusable Svelte components for some internal applications
4
4
5
5
## installation
6
6
7
-
To install to your Svelte project, open your project's root directory in a terminal. Type or paste `npm i -D [email protected][email protected] @silintl/ui-components` and press enter (versions will vary if you use an older release of this repo). Sass and-material-components web are required to develop additional material web components in your app, but it may depend on your version of npm if they are necessary even if you don't. You should already have svelte@3 installed if you are using this library. If you are using typescript you will probaly need to run `npm i -D tslib` to avoid a material-components-web type error.
7
+
To install to your Svelte project, open your project's root directory in a terminal. Type or paste `npm i -D [email protected][email protected] @silintl/ui-components` and press enter (versions will vary if you use an older release of this repo). Sass and-material-components web are required to develop additional material web components in your app, but it may depend on your version of npm if they are necessary even if you don't. You should already have svelte@3 installed if you are using this library.
8
+
9
+
If you are using typescript you will need to run `npm i -D tslib` to avoid a material-components-web type error.
8
10
9
11
You will also want to follow the example below for your index.html (app.html for sveltekit templates) for Material Icons to work and for Google fonts to load.
10
12
see https://github.com/material-components/material-web#2-write-html-and-javascript
0 commit comments