Skip to content

Commit 4b58134

Browse files
committed
First commit
1 parent 07b949a commit 4b58134

File tree

141 files changed

+16667
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

141 files changed

+16667
-1
lines changed

Diff for: .browserslistrc

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
> 1%
2+
last 2 versions

Diff for: .editorconfig

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[*.{js,jsx,ts,tsx,vue}]
2+
indent_style = space
3+
indent_size = 2
4+
trim_trailing_whitespace = true
5+
insert_final_newline = true

Diff for: .eslintrc.js

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
module.exports = {
2+
root: true,
3+
env: {
4+
node: true
5+
},
6+
'extends': [
7+
'plugin:vue/essential',
8+
'@vue/standard'
9+
],
10+
rules: {
11+
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
12+
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
13+
},
14+
parserOptions: {
15+
parser: 'babel-eslint'
16+
}
17+
}

Diff for: .gitignore

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
.DS_Store
2+
node_modules
3+
/dist
4+
5+
# local env files
6+
.env.local
7+
.env.*.local
8+
9+
# Log files
10+
npm-debug.log*
11+
yarn-debug.log*
12+
yarn-error.log*
13+
14+
# Editor directories and files
15+
.idea
16+
.vscode
17+
*.suo
18+
*.ntvs*
19+
*.njsproj
20+
*.sln
21+
*.sw?

Diff for: README.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
11
# element-form-generator
2-
[WIP] Form generator base on element-schema-form component
2+
3+
Visualization form generator base on [element-schema-form](https://github.com/vueblocks/element-schema-form) component
4+
5+
## License
6+
7+
MIT

Diff for: babel.config.js

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
const plugins = [
2+
'lodash',
3+
[
4+
'component',
5+
{
6+
'libraryName': 'element-ui',
7+
'styleLibraryName': '~theme'
8+
}
9+
]
10+
]
11+
12+
// 生产模式使用 transform-remove-console 插件
13+
if (process.env.NODE_ENV === 'production') {
14+
plugins.push('transform-remove-console')
15+
}
16+
17+
module.exports = {
18+
presets: [
19+
'@vue/cli-plugin-babel/preset'
20+
],
21+
plugins
22+
}

Diff for: docs/favicon.ico

4.19 KB
Binary file not shown.

Diff for: docs/fonts/element-icons.535877f5.woff

27.5 KB
Binary file not shown.

Diff for: docs/fonts/element-icons.732389de.ttf

54.6 KB
Binary file not shown.

Diff for: docs/index.html

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=favicon.ico><title>element-form-generator</title><link href=js/chunk-30d9d622.c915773a.js rel=prefetch><link href=js/app.f56775e7.js rel=preload as=script><link href=js/chunk-vendors.fa71da86.js rel=preload as=script></head><body><noscript><strong>We're sorry but element-form-generator doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=js/chunk-vendors.fa71da86.js></script><script src=js/app.f56775e7.js></script></body></html>

Diff for: docs/js/app.f56775e7.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: docs/js/chunk-30d9d622.c915773a.js

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: docs/js/chunk-vendors.fa71da86.js

+60
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)