From 046827e2ad33d9f3d94155d495db715398885338 Mon Sep 17 00:00:00 2001 From: Mats Pfeiffer Date: Thu, 25 Jan 2018 11:55:33 +0100 Subject: [PATCH] feat(demo): Add select demo --- demo/router/index.js | 4 ++++ demo/store/modules/app.js | 5 +++++ demo/views/SelectView.vue | 28 ++++++++++++++++++++++++++++ 3 files changed, 37 insertions(+) create mode 100644 demo/views/SelectView.vue diff --git a/demo/router/index.js b/demo/router/index.js index ac1b0417b..ca13932de 100644 --- a/demo/router/index.js +++ b/demo/router/index.js @@ -45,6 +45,10 @@ export default new VueRouter({ path: '/radio', component: () => import('views/RadioView') }, + { + path: '/select', + component: () => import('views/SelectView') + }, { path: '/textfield', component: () => import('views/TextfieldView') diff --git a/demo/store/modules/app.js b/demo/store/modules/app.js index d02d498e7..cc7702afa 100644 --- a/demo/store/modules/app.js +++ b/demo/store/modules/app.js @@ -53,6 +53,11 @@ const state = { route: '/radio', icon: 'code' }, + select: { + text: 'Select', + route: '/select', + icon: 'code' + }, textfield: { text: 'Textfield', route: '/textfield', diff --git a/demo/views/SelectView.vue b/demo/views/SelectView.vue new file mode 100644 index 000000000..94466a3ae --- /dev/null +++ b/demo/views/SelectView.vue @@ -0,0 +1,28 @@ +