yks-element 1.0.0
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 +7 -0
- package/dist/demo.html +10 -0
- package/dist/fonts/element-icons.535877f5.woff +0 -0
- package/dist/fonts/element-icons.732389de.ttf +0 -0
- package/dist/yks.common.js +64801 -0
- package/dist/yks.css +1 -0
- package/dist/yks.umd.js +64811 -0
- package/dist/yks.umd.min.js +15 -0
- package/package.json +51 -0
- package/packages/button/index.vue +16 -0
- package/packages/index.ts +12 -0
package/package.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "yks-element",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "yks公共库",
|
|
5
|
+
"private": false,
|
|
6
|
+
"author": "1098385361@qq.com",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"serve": "vue-cli-service serve",
|
|
9
|
+
"build": "vue-cli-service build",
|
|
10
|
+
"lint": "vue-cli-service lint",
|
|
11
|
+
"lib": "vue-cli-service build --target lib --name yks examples/main.ts"
|
|
12
|
+
},
|
|
13
|
+
"dependencies": {
|
|
14
|
+
"@tinymce/tinymce-vue": "^3.2.1",
|
|
15
|
+
"axios": "^0.19.2",
|
|
16
|
+
"core-js": "^3.6.5",
|
|
17
|
+
"element-ui": "^2.15.9",
|
|
18
|
+
"lodash": "^4.17.15",
|
|
19
|
+
"qs": "^6.9.4",
|
|
20
|
+
"tinymce": "^5.2.2",
|
|
21
|
+
"vue": "^2.6.11"
|
|
22
|
+
},
|
|
23
|
+
"devDependencies": {
|
|
24
|
+
"@types/tinymce": "^4.5.24",
|
|
25
|
+
"@typescript-eslint/eslint-plugin": "^2.30.0",
|
|
26
|
+
"@typescript-eslint/parser": "^2.30.0",
|
|
27
|
+
"@vue/cli-plugin-babel": "~4.5.15",
|
|
28
|
+
"@vue/cli-plugin-eslint": "^4.3.1",
|
|
29
|
+
"@vue/cli-plugin-typescript": "^4.3.1",
|
|
30
|
+
"@vue/cli-service": "~4.5.15",
|
|
31
|
+
"@vue/eslint-config-standard": "^5.1.2",
|
|
32
|
+
"@vue/eslint-config-typescript": "^5.0.2",
|
|
33
|
+
"babel-eslint": "^10.1.0",
|
|
34
|
+
"eslint": "^6.8.0",
|
|
35
|
+
"eslint-plugin-import": "^2.20.2",
|
|
36
|
+
"eslint-plugin-node": "^11.1.0",
|
|
37
|
+
"eslint-plugin-promise": "^4.2.1",
|
|
38
|
+
"eslint-plugin-standard": "^4.0.1",
|
|
39
|
+
"eslint-plugin-vue": "^6.2.2",
|
|
40
|
+
"node-sass": "^6.0.1",
|
|
41
|
+
"sass-loader": "10.2.0",
|
|
42
|
+
"typescript": "^4.7.3",
|
|
43
|
+
"uglifyjs-webpack-plugin": "v2.2.0",
|
|
44
|
+
"vue-template-compiler": "^2.6.11"
|
|
45
|
+
},
|
|
46
|
+
"browserslist": [
|
|
47
|
+
"> 1%",
|
|
48
|
+
"last 2 versions",
|
|
49
|
+
"not dead"
|
|
50
|
+
]
|
|
51
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import YskButton from './button/index.vue'
|
|
2
|
+
import 'element-ui/lib/theme-chalk/index.css'
|
|
3
|
+
const components = [YskButton]
|
|
4
|
+
const install = function (Vue: any) {
|
|
5
|
+
components.forEach((item) => {
|
|
6
|
+
Vue.component(item.name, item)
|
|
7
|
+
})
|
|
8
|
+
}
|
|
9
|
+
if (typeof window !== 'undefined' && window.Vue) {
|
|
10
|
+
install(window.Vue)
|
|
11
|
+
}
|
|
12
|
+
export default install
|