File tree Expand file tree Collapse file tree 15 files changed +8175
-3
lines changed
Expand file tree Collapse file tree 15 files changed +8175
-3
lines changed Original file line number Diff line number Diff line change @@ -125,8 +125,8 @@ var FormBuilder = {
125125 } ,
126126 renderFormItem : function renderFormItem ( h , _ref2 ) {
127127 var tag = _ref2 . tag ,
128- _ref2$label = _ref2 . label ,
129- label = _ref2$label === undefined ? { } : _ref2$label ,
128+ _ref2$item = _ref2 . item ,
129+ label = _ref2$item === undefined ? { } : _ref2$item ,
130130 _ref2$detail = _ref2 . detail ,
131131 detail = _ref2$detail === undefined ? { } : _ref2$detail ;
132132
Original file line number Diff line number Diff line change 1+ [* .{js,jsx,ts,tsx,vue} ]
2+ indent_style = space
3+ indent_size = 2
4+ trim_trailing_whitespace = true
5+ insert_final_newline = true
Original file line number Diff line number Diff line change 1+ .DS_Store
2+ node_modules
3+ /dist
4+ package-lock.json
5+
6+ # local env files
7+ .env.local
8+ .env. * .local
9+
10+ # Log files
11+ npm-debug.log *
12+ yarn-debug.log *
13+ yarn-error.log *
14+
15+ # Editor directories and files
16+ .idea
17+ .vscode
18+ * .suo
19+ * .ntvs *
20+ * .njsproj
21+ * .sln
22+ * .sw *
Original file line number Diff line number Diff line change 1+ # simple-demo
2+
3+ ## Project setup
4+ ```
5+ yarn install
6+ ```
7+
8+ ### Compiles and hot-reloads for development
9+ ```
10+ yarn run serve
11+ ```
12+
13+ ### Compiles and minifies for production
14+ ```
15+ yarn run build
16+ ```
17+
18+ ### Run your tests
19+ ```
20+ yarn run test
21+ ```
22+
23+ ### Lints and fixes files
24+ ```
25+ yarn run lint
26+ ```
27+
28+ ### Customize configuration
29+ See [ Configuration Reference] ( https://cli.vuejs.org/config/ ) .
Original file line number Diff line number Diff line change 1+ module . exports = {
2+ presets : [
3+ '@vue/app'
4+ ]
5+ }
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " simple-demo" ,
3+ "version" : " 0.1.0" ,
4+ "private" : true ,
5+ "scripts" : {
6+ "serve" : " vue-cli-service serve" ,
7+ "build" : " vue-cli-service build" ,
8+ "lint" : " vue-cli-service lint"
9+ },
10+ "dependencies" : {
11+ "element-ui" : " ^2.4.11" ,
12+ "vue" : " ^2.5.17"
13+ },
14+ "devDependencies" : {
15+ "@vue/cli-plugin-babel" : " ^3.2.0" ,
16+ "@vue/cli-plugin-eslint" : " ^3.2.0" ,
17+ "@vue/cli-service" : " ^3.2.0" ,
18+ "@vue/eslint-config-standard" : " ^4.0.0" ,
19+ "babel-eslint" : " ^10.0.1" ,
20+ "eslint" : " ^5.8.0" ,
21+ "eslint-plugin-vue" : " ^5.0.0-0" ,
22+ "vue-template-compiler" : " ^2.5.17"
23+ },
24+ "eslintConfig" : {
25+ "root" : true ,
26+ "env" : {
27+ "node" : true
28+ },
29+ "extends" : [
30+ " plugin:vue/essential" ,
31+ " @vue/standard"
32+ ],
33+ "rules" : {
34+ "space-before-function-paren" : " off"
35+ },
36+ "parserOptions" : {
37+ "parser" : " babel-eslint"
38+ }
39+ },
40+ "postcss" : {
41+ "plugins" : {
42+ "autoprefixer" : {}
43+ }
44+ },
45+ "browserslist" : [
46+ " > 1%" ,
47+ " last 2 versions" ,
48+ " not ie <= 8"
49+ ]
50+ }
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+ < head >
4+ < meta charset ="utf-8 ">
5+ < meta http-equiv ="X-UA-Compatible " content ="IE=edge ">
6+ < meta name ="viewport " content ="width=device-width,initial-scale=1.0 ">
7+ < link rel ="icon " href ="<%= BASE_URL %>favicon.ico ">
8+ < title > simple-demo</ title >
9+ </ head >
10+ < body >
11+ < noscript >
12+ < strong > We're sorry but simple-demo doesn't work properly without JavaScript enabled. Please enable it to continue.</ strong >
13+ </ noscript >
14+ < div id ="app "> </ div >
15+ <!-- built files will be auto injected -->
16+ </ body >
17+ </ html >
Original file line number Diff line number Diff line change 1+ <template >
2+ <div id =" app" >
3+ <form-builder-preview ></form-builder-preview >
4+ </div >
5+ </template >
6+
7+ <script >
8+ import FormBuilderPreview from ' ./components/FormBuilderPreview.vue'
9+
10+ export default {
11+ name: ' app' ,
12+ components: {
13+ FormBuilderPreview
14+ }
15+ }
16+ </script >
17+
18+ <style >
19+ html ,
20+ body {
21+ height : 100% ;
22+ }
23+
24+ #app {
25+ height : 100% ;
26+ }
27+ </style >
You can’t perform that action at this time.
0 commit comments