From 47d9d57db655cf4b4a690881f2a0bfdc6c9c5a32 Mon Sep 17 00:00:00 2001 From: Icebob Date: Fri, 30 Jun 2017 11:23:40 +0200 Subject: [PATCH] create picker dev --- dev/picker/app.vue | 61 +++++++++++++++++++++++++++++++++++++++++++ dev/picker/index.html | 24 +++++++++++++++++ dev/picker/main.js | 9 +++++++ webpack.dev.config.js | 3 ++- 4 files changed, 96 insertions(+), 1 deletion(-) create mode 100644 dev/picker/app.vue create mode 100644 dev/picker/index.html create mode 100644 dev/picker/main.js diff --git a/dev/picker/app.vue b/dev/picker/app.vue new file mode 100644 index 00000000..521938b1 --- /dev/null +++ b/dev/picker/app.vue @@ -0,0 +1,61 @@ + + + + + \ No newline at end of file diff --git a/dev/picker/index.html b/dev/picker/index.html new file mode 100644 index 00000000..b18bdbe2 --- /dev/null +++ b/dev/picker/index.html @@ -0,0 +1,24 @@ + + + + + vue-form-generator datePicker demo + + + + + + + + + + + + + + +
+
+ + + diff --git a/dev/picker/main.js b/dev/picker/main.js new file mode 100644 index 00000000..88e4ffc5 --- /dev/null +++ b/dev/picker/main.js @@ -0,0 +1,9 @@ +import Vue from "vue"; +import VueFormGenerator from "../../src"; +Vue.use(VueFormGenerator); + +import App from './app.vue'; + +new Vue({ + ...App +}).$mount('#app'); \ No newline at end of file diff --git a/webpack.dev.config.js b/webpack.dev.config.js index 5b0fd2a1..145ddbf8 100644 --- a/webpack.dev.config.js +++ b/webpack.dev.config.js @@ -35,7 +35,8 @@ module.exports = { full: path.resolve("dev", "full", "main.js"), mselect: path.resolve("dev", "multiselect", "main.js"), grouping: path.resolve("dev", "grouping", "main.js"), - checklist: path.resolve("dev", "checklist", "main.js") + checklist: path.resolve("dev", "checklist", "main.js"), + picker: path.resolve("dev", "picker", "main.js") }, output: {