@factoringplus/pl-components-pack-v3 0.1.20 → 0.1.21
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 +4 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,10 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
В текущей версии есть ряд ограничений по установке пакета в проект.
|
|
6
6
|
|
|
7
|
-
- Невозможно добавиь сразу все компоненты библиотеки глобально (через плагин)
|
|
8
7
|
- Файл стилей нужно добавлять глобально
|
|
9
8
|
|
|
10
|
-
В ближайшее время
|
|
9
|
+
В ближайшее время это ограничение будет исправлено.
|
|
11
10
|
|
|
12
11
|
## Установка
|
|
13
12
|
|
|
@@ -15,17 +14,14 @@
|
|
|
15
14
|
npm i @factoringplus/pl-components-pack-v3
|
|
16
15
|
```
|
|
17
16
|
|
|
18
|
-
### Добавление
|
|
17
|
+
### Добавление компонентов в проект
|
|
19
18
|
|
|
20
19
|
```bash
|
|
21
20
|
// src/main.js
|
|
21
|
+
import components from '@factoringplus/pl-components-pack-v3';
|
|
22
22
|
import '@factoringplus/pl-components-pack-v3/dist/style.css';
|
|
23
|
-
```
|
|
24
23
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
```bash
|
|
28
|
-
import { TestViteNpmComponent, PlCurrency } from '@factoringplus/pl-components-pack-v3';
|
|
24
|
+
app.use(components)
|
|
29
25
|
```
|
|
30
26
|
|
|
31
27
|
## Для разработчиков
|