Skip to content

Commit

Permalink
feat: 新增导入json,生成代码,生成json,引入ace-editor
Browse files Browse the repository at this point in the history
  • Loading branch information
BoBoooooo committed Jan 7, 2021
1 parent 9b86395 commit f3a7eeb
Show file tree
Hide file tree
Showing 9 changed files with 348 additions and 193 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ module.exports = {
"class-methods-use-this": "off",
// 允许下划线变量命名
"no-underscore-dangle": "off",
"import/no-extraneous-dependencies": "off"
"import/no-extraneous-dependencies": "off",
"global-require": "off"
},
parserOptions: {
parser: "@typescript-eslint/parser",
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ npm i element-pro-crud -S
<head>
<meta charset="UTF-8" />
<!-- 引入ProCrud CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/element-pro-crud@0.5.0/lib/ProCrud.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/element-pro-crud/lib/ProCrud.css" />
<!-- 引入ElementUI CSS -->
<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css"
/>
Expand All @@ -66,7 +66,7 @@ npm i element-pro-crud -S
<!-- import ElementUI -->
<script src="https://unpkg.com/element-ui/lib/index.js"></script>
<!-- import ElementProCrud -->
<script src="https://cdn.jsdelivr.net/npm/element-pro-crud@0.5.0/lib/ProCrud.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/element-pro-crud/lib/ProCrud.umd.js"></script>

<script>
new Vue({
Expand Down
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,20 @@
"devDependencies": {
"@babel/plugin-transform-modules-umd": "^7.12.1",
"@riophae/vue-treeselect": "^0.4.0",
"@types/ace": "0.0.42",
"@typescript-eslint/eslint-plugin": "^2.26.0",
"@typescript-eslint/parser": "^2.26.0",
"@vue/cli-plugin-babel": "^3.9.2",
"@vue/cli-plugin-eslint": "^3.9.2",
"@vue/cli-plugin-typescript": "4.5.4",
"@vue/cli-plugin-unit-mocha": "4.5.4",
"@vue/cli-service": "^3.9.2",
"@vue/eslint-config-airbnb": "^4.0.1",
"@vue/eslint-config-typescript": "^5.0.2",
"axios": "^0.19.2",
"babel-eslint": "^10.0.2",
"babel-plugin-component": "^1.1.1",
"chai": "^4.2.0",
"clipboard": "^2.0.1",
"conventional-changelog-cli": "^2.1.0",
"core-js": "2.6.5",
"cross-env": "^7.0.2",
Expand All @@ -76,6 +77,7 @@
"sass-loader": "^7.1.0",
"svg-sprite-loader": "^4.1.6",
"svgo-loader": "2.2.1",
"terser-webpack-plugin": "^1.2.4",
"typescript": "~3.8.3",
"vue": "2.6.11",
"vue-awesome": "^3.5.4",
Expand All @@ -84,10 +86,10 @@
"vue-cli-plugin-commitlint": "^1.0.12",
"vue-property-decorator": "^8.5.0",
"vue-template-compiler": "2.6.11",
"vue2-ace-editor": "^0.0.15",
"vuedraggable": "^2.23.2",
"webpack": "^4.35.3",
"webpack-bundle-analyzer": "^3.3.2",
"terser-webpack-plugin": "^1.2.4"
"webpack-bundle-analyzer": "^3.3.2"
},
"husky": {
"hooks": {
Expand Down
Loading

0 comments on commit f3a7eeb

Please sign in to comment.