@factoringplus/pl-components-pack-v3 0.1.8 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +20 -21
  2. package/package.json +46 -46
package/README.md CHANGED
@@ -1,44 +1,43 @@
1
- # element-plus-vite-starter
1
+ # pl-components-pack-v3
2
2
 
3
- > A starter kit for Element Plus with Vite
3
+ > Библиотека компонентов Vue 3
4
4
 
5
- <img width="800" alt="Element Plus" src="https://user-images.githubusercontent.com/10731096/97282764-0726eb80-187a-11eb-9658-6dc98ccb8f8d.png">
5
+ В текущей версии есть ряд ограничений по установке пакета в проект.
6
6
 
7
- - Preview: <https://vite-starter.element-plus.org>
7
+ - Невозможно добавиь сразу все компоненты библиотеки глобально (через плагин)
8
+ - Файл стилей нужно добавлять глобально
8
9
 
9
- This is an example of on-demand element-plus with [unplugin-vue-components](https://github.com/antfu/unplugin-vue-components).
10
+ В ближайшее время эти ограничения будут исправлены.
10
11
 
11
- > If you want to import all, it may be so simple that no examples are needed. Just follow [quickstart | Docs](https://element-plus.org/zh-CN/guide/quickstart.html) and import them.
12
+ ## Установка
12
13
 
13
- If you just want an on-demand import example `manually`, you can check [unplugin-element-plus/examples/vite](https://github.com/element-plus/unplugin-element-plus/tree/main/examples/vite).
14
+ ```bash
15
+ npm i @factoringplus/pl-components-pack-v3
16
+ ```
14
17
 
15
- ## Project setup
18
+ ### Добавление стилей глобально
16
19
 
17
20
  ```bash
18
- npm install
21
+ // src/main.js
22
+ import '@factoringplus/pl-components-pack-v3/dist/style.css';
19
23
  ```
20
24
 
21
- ### Compiles and hot-reloads for development
25
+ ### Добавление компонентов в проект
22
26
 
23
27
  ```bash
24
- npm run dev
28
+ import { TestViteNpmComponent, PlCurrency } from '@factoringplus/pl-components-pack-v3';
25
29
  ```
26
30
 
27
- ### Compiles and minifies for production
31
+ ## Для разработчиков
32
+
33
+ ### Запуск сторибука
28
34
 
29
35
  ```bash
30
- npm run build
36
+ npm run storybook
31
37
  ```
32
38
 
33
- ## Usage
39
+ ### Запуск проекта
34
40
 
35
41
  ```bash
36
- git clone https://github.com/element-plus/element-plus-vite-starter
37
- cd element-plus-vite-starter
38
- npm i
39
42
  npm run dev
40
43
  ```
41
-
42
- ### Custom theme
43
-
44
- See `src/styles/element/index.scss`.
package/package.json CHANGED
@@ -1,46 +1,46 @@
1
- {
2
- "name": "@factoringplus/pl-components-pack-v3",
3
- "private": false,
4
- "files": [
5
- "dist"
6
- ],
7
- "main": "./dist/pl-components-pack-v3.js",
8
- "module": "./dist/pl-components-pack-v3.es.js",
9
- "exports": {
10
- ".": {
11
- "import": "./dist/pl-components-pack-v3.es.js",
12
- "require": "./dist/pl-components-pack-v3.umd.js"
13
- }
14
- },
15
- "version": "0.1.8",
16
- "scripts": {
17
- "dev": "vite",
18
- "build": "vue-tsc --noEmit && vite build",
19
- "preview": "vite preview",
20
- "storybook": "start-storybook -p 6006",
21
- "build-storybook": "build-storybook"
22
- },
23
- "dependencies": {
24
- "element-plus": "^2.0.2",
25
- "vue": "^3.2.31",
26
- "vue-currency-input": "^2.4.0"
27
- },
28
- "devDependencies": {
29
- "@babel/core": "^7.17.5",
30
- "@storybook/addon-actions": "^6.5.0-alpha.44",
31
- "@storybook/addon-essentials": "^6.5.0-alpha.44",
32
- "@storybook/addon-links": "^6.5.0-alpha.44",
33
- "@storybook/vue3": "^6.5.0-alpha.44",
34
- "@types/node": "*",
35
- "@vitejs/plugin-vue": "^2.2.2",
36
- "@vue/compiler-sfc": "^3.2.31",
37
- "babel-loader": "^8.2.3",
38
- "sass": "^1.49.8",
39
- "storybook-builder-vite": "^0.1.17",
40
- "typescript": "^4.5.5",
41
- "unplugin-vue-components": "^0.17.20",
42
- "vite": "^2.8.4",
43
- "vue-loader": "^16.8.3",
44
- "vue-tsc": "^0.31.4"
45
- }
46
- }
1
+ {
2
+ "name": "@factoringplus/pl-components-pack-v3",
3
+ "private": false,
4
+ "files": [
5
+ "dist"
6
+ ],
7
+ "main": "./dist/pl-components-pack-v3.js",
8
+ "module": "./dist/pl-components-pack-v3.es.js",
9
+ "exports": {
10
+ ".": {
11
+ "import": "./dist/pl-components-pack-v3.es.js",
12
+ "require": "./dist/pl-components-pack-v3.umd.js"
13
+ }
14
+ },
15
+ "version": "0.1.11",
16
+ "scripts": {
17
+ "dev": "vite",
18
+ "build": "vue-tsc --noEmit && vite build",
19
+ "preview": "vite preview",
20
+ "storybook": "start-storybook -p 6006",
21
+ "build-storybook": "build-storybook"
22
+ },
23
+ "dependencies": {
24
+ "element-plus": "^2.0.2",
25
+ "vue": "^3.2.31",
26
+ "vue-currency-input": "^2.4.0"
27
+ },
28
+ "devDependencies": {
29
+ "@babel/core": "^7.17.5",
30
+ "@storybook/addon-actions": "^6.5.0-alpha.44",
31
+ "@storybook/addon-essentials": "^6.5.0-alpha.44",
32
+ "@storybook/addon-links": "^6.5.0-alpha.44",
33
+ "@storybook/vue3": "^6.5.0-alpha.44",
34
+ "@types/node": "*",
35
+ "@vitejs/plugin-vue": "^2.2.2",
36
+ "@vue/compiler-sfc": "^3.2.31",
37
+ "babel-loader": "^8.2.3",
38
+ "sass": "^1.49.8",
39
+ "storybook-builder-vite": "^0.1.17",
40
+ "typescript": "^4.5.5",
41
+ "unplugin-vue-components": "^0.17.20",
42
+ "vite": "^2.8.4",
43
+ "vue-loader": "^16.8.3",
44
+ "vue-tsc": "^0.31.4"
45
+ }
46
+ }