@studio-west/component-sw 0.10.10 → 0.10.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -62,6 +62,16 @@ import { Library } from '@studio-west/component-sw';
|
|
|
62
62
|
import '@studio-west/component-sw/dist/component-sw.css';
|
|
63
63
|
|
|
64
64
|
app.use(Library)
|
|
65
|
+
```
|
|
66
|
+
### Локальное подключение / Local add:
|
|
67
|
+
```js
|
|
68
|
+
import { components } from '@studio-west/component-sw';
|
|
69
|
+
import '@studio-west/component-sw/dist/component-sw.css';
|
|
70
|
+
const {
|
|
71
|
+
SwSlider,
|
|
72
|
+
SwInput
|
|
73
|
+
} = components;
|
|
74
|
+
|
|
65
75
|
```
|
|
66
76
|
Установка в ручную светлой и темной темы - добавление к тегу `html` классов `dark` или `light` / Installation in a manual light and dark theme - adding to the tag `html` classes` dark` or `light`
|
|
67
77
|
|