+21
| The MIT License (MIT) | ||
| Copyright (c) 2021-present Perfumere,XaDon | ||
| Permission is hereby granted, free of charge, to any person obtaining a copy of | ||
| this software and associated documentation files (the "Software"), to deal in | ||
| the Software without restriction, including without limitation the rights to | ||
| use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | ||
| the Software, and to permit persons to whom the Software is furnished to do so, | ||
| subject to the following conditions: | ||
| The above copyright notice and this permission notice shall be included in all | ||
| copies or substantial portions of the Software. | ||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS | ||
| FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR | ||
| COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER | ||
| IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
| CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
+41
| # 使用方法 | ||
| ## 推荐使用yarn 安装 | ||
| ```bash | ||
| yarn add @yuo/plui | ||
| ``` | ||
| ## 仅支持Esmodule模块 | ||
| ```js | ||
| // main.js | ||
| import { createApp } from 'vue'; | ||
| const app = createApp(); | ||
| // 导入样式类 | ||
| import '../node_modules/@yuo/plui/build/style.css'; | ||
| // 全部引入 | ||
| // import Plui from '@yuo/plui'; | ||
| // app.use(Plui); | ||
| // 按需引入 | ||
| import { | ||
| PlCol, | ||
| PlRow | ||
| } from '@yuo/plui'; | ||
| app | ||
| .use(PlCol); | ||
| .use(PlRow); | ||
| // 目前没有写typings,需要禁掉引入时的ts规则 | ||
| // @ts-ignore | ||
| // import { | ||
| // PlCol, | ||
| // PlRow | ||
| // } from '@yuo/plui'; | ||
| // @ts-ignore | ||
| // import Plui from '@yuo/plui'; | ||
| ``` |
+1
-1
| { | ||
| "name": "@yuo/plui", | ||
| "version": "0.0.8", | ||
| "version": "0.0.9", | ||
| "author": "Perfumere, XaDon", | ||
@@ -5,0 +5,0 @@ "description": "common components of Plog community", |
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
116099
1.49%6
50%1
-50%41
Infinity%