From fde4ef58d94dda8135f1c25830a590ccb753d3e7 Mon Sep 17 00:00:00 2001 From: Aleksey Filippov Date: Tue, 28 May 2019 22:28:14 +0400 Subject: [PATCH] try-vue: add test pages for validators --- .../resources/static/core-components/app-index.vue | 2 +- src/main/resources/static/js/app.js | 9 +++++++++ src/main/resources/static/other/other.vue | 14 ++++++++++++++ src/main/resources/static/other/validator1.vue | 14 ++++++++++++++ src/main/resources/static/other/validator2.vue | 14 ++++++++++++++ 5 files changed, 52 insertions(+), 1 deletion(-) create mode 100644 src/main/resources/static/other/other.vue create mode 100644 src/main/resources/static/other/validator1.vue create mode 100644 src/main/resources/static/other/validator2.vue diff --git a/src/main/resources/static/core-components/app-index.vue b/src/main/resources/static/core-components/app-index.vue index 26297d7..eb7e517 100644 --- a/src/main/resources/static/core-components/app-index.vue +++ b/src/main/resources/static/core-components/app-index.vue @@ -113,7 +113,7 @@
- +
diff --git a/src/main/resources/static/js/app.js b/src/main/resources/static/js/app.js index 890f70f..c25dddd 100644 --- a/src/main/resources/static/js/app.js +++ b/src/main/resources/static/js/app.js @@ -17,6 +17,15 @@ var router = new VueRouter({ { path: "/papers/dashboard", component: httpVueLoaderEx("/papers/paper-dashboard.vue", "PaperDashboard") }, + { + path: "/other/other", component: httpVueLoaderEx("/other/other.vue", "OtherMain") + }, + { + path: "/other/validator1", component: httpVueLoaderEx("/other/validator1.vue", "OtherValidator1") + }, + { + path: "/other/validator2", component: httpVueLoaderEx("/other/validator2.vue", "OtherValidator2") + }, { path: "/*", component: httpVueLoaderEx("/core-components/page-not-found.vue", "PageNotFound") } diff --git a/src/main/resources/static/other/other.vue b/src/main/resources/static/other/other.vue new file mode 100644 index 0000000..08856f4 --- /dev/null +++ b/src/main/resources/static/other/other.vue @@ -0,0 +1,14 @@ + \ No newline at end of file diff --git a/src/main/resources/static/other/validator1.vue b/src/main/resources/static/other/validator1.vue new file mode 100644 index 0000000..4da7c0b --- /dev/null +++ b/src/main/resources/static/other/validator1.vue @@ -0,0 +1,14 @@ + \ No newline at end of file diff --git a/src/main/resources/static/other/validator2.vue b/src/main/resources/static/other/validator2.vue new file mode 100644 index 0000000..409c1c8 --- /dev/null +++ b/src/main/resources/static/other/validator2.vue @@ -0,0 +1,14 @@ + \ No newline at end of file