diff options
author | René Gieling <github@dartcafe.de> | 2019-07-31 07:34:16 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-31 07:34:16 +0300 |
commit | 3bced22dcfa96e7cf33d7bcff7f4cb96a2dcb4fd (patch) | |
tree | 24763a96b442ebc71bd2f130a3131280967aaf36 /src/js/router.js | |
parent | 95e6d2fa2ef8120fd5a715f7df6ffe7ad3c1c9aa (diff) |
Migrate vote page to vue (#549)
Squash and merge current development tree to dev-1.0
* Initial commit
* Repair anomizer
* Anonymizer complete
* Update
* Update raw-loader requirement from ^1.0.0 to ^2.0.0
Updates the requirements on [raw-loader](https://github.com/webpack-contrib/raw-loader) to permit the latest version.
- [Release notes](https://github.com/webpack-contrib/raw-loader/releases)
- [Changelog](https://github.com/webpack-contrib/raw-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/raw-loader/compare/v1.0.0...v2.0.0)
Signed-off-by: dependabot[bot] <support@dependabot.com>
* Update mini-css-extract-plugin requirement from ^0.5.0 to ^0.6.0
Updates the requirements on [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) to permit the latest version.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v0.5.0...v0.6.0)
Signed-off-by: dependabot[bot] <support@dependabot.com>
* fix missing closing div
Signed-off-by: Vinzenz Rosenkranz <vinzenz.rosenkranz@uni-tuebingen.de>
* Update stylelint requirement from ^9.9.0 to ^10.0.1
Updates the requirements on [stylelint](https://github.com/stylelint/stylelint) to permit the latest version.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/9.9.0...10.0.1)
Signed-off-by: dependabot[bot] <support@dependabot.com>
* Update v-tooltip requirement from ^2.0.0-rc.33 to ^3.0.0-alpha.7
Updates the requirements on [v-tooltip](https://github.com/Akryum/vue-tooltip) to permit the latest version.
- [Release notes](https://github.com/Akryum/vue-tooltip/releases)
- [Commits](https://github.com/Akryum/vue-tooltip/commits)
Signed-off-by: dependabot[bot] <support@dependabot.com>
* Update nextcloud-vue requirement from ^0.9.0 to ^0.11.3
Updates the requirements on [nextcloud-vue](https://github.com/nextcloud/nextcloud-vue) to permit the latest version.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v0.9.0...v0.11.3)
Signed-off-by: dependabot[bot] <support@dependabot.com>
* Update eslint-plugin-node requirement from ^8.0.0 to ^9.1.0
Updates the requirements on [eslint-plugin-node](https://github.com/mysticatea/eslint-plugin-node) to permit the latest version.
- [Release notes](https://github.com/mysticatea/eslint-plugin-node/releases)
- [Commits](https://github.com/mysticatea/eslint-plugin-node/compare/v8.0.0...v9.1.0)
Signed-off-by: dependabot[bot] <support@dependabot.com>
* Components updates and restructuring sources
* Some progress
* Update mini-css-extract-plugin requirement from ^0.5.0 to ^0.7.0
Updates the requirements on [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) to permit the latest version.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v0.5.0...v0.7.0)
* more progress and refactoring
* Updates
* partial progress
* Update nextcloud-vue requirement from ^0.9.0 to ^0.11.4
Updates the requirements on [nextcloud-vue](https://github.com/nextcloud/nextcloud-vue) to permit the latest version.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v0.9.0...v0.11.4)
* Update file-loader requirement from ^3.0.1 to ^4.0.0
Updates the requirements on [file-loader](https://github.com/webpack-contrib/file-loader) to permit the latest version.
- [Release notes](https://github.com/webpack-contrib/file-loader/releases)
- [Changelog](https://github.com/webpack-contrib/file-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/file-loader/compare/v3.0.1...v4.0.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Update raw-loader requirement from ^1.0.0 to ^3.0.0
Updates the requirements on [raw-loader](https://github.com/webpack-contrib/raw-loader) to permit the latest version.
- [Release notes](https://github.com/webpack-contrib/raw-loader/releases)
- [Changelog](https://github.com/webpack-contrib/raw-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/raw-loader/compare/v1.0.0...v3.0.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* * Replace side-bar component with nextcloud-vue AppSiebar
* introducing vuex
* Update stylelint requirement from ^9.9.0 to ^10.1.0
Updates the requirements on [stylelint](https://github.com/stylelint/stylelint) to permit the latest version.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/9.9.0...10.1.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Progress on vuex
* Update css-loader requirement from ^2.1.0 to ^3.0.0
Updates the requirements on [css-loader](https://github.com/webpack-contrib/css-loader) to permit the latest version.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v2.1.0...v3.0.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Update v-tooltip requirement from ^2.0.0-rc.33 to ^3.0.0-alpha.10
Updates the requirements on [v-tooltip](https://github.com/Akryum/vue-tooltip) to permit the latest version.
- [Release notes](https://github.com/Akryum/vue-tooltip/releases)
- [Commits](https://github.com/Akryum/vue-tooltip/commits)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* huge progress
* Update package.json
* fixes
* More progress
* vote.vue
* Make vote reactive
* remove logging
* Update
* More updates
* Approching alpha state
* trash
* Updates
* Handle notification subscriptions
* Remove debug logging and unused code
* again
* remove error logging if no subscription found
* Improved notifications and inline editing
* Refactoring and new sharing system (still WIP)
* Updates to votes table
Diffstat (limited to 'src/js/router.js')
-rw-r--r-- | src/js/router.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/js/router.js b/src/js/router.js index de881dd0..bd3883c4 100644 --- a/src/js/router.js +++ b/src/js/router.js @@ -28,6 +28,7 @@ import Router from 'vue-router' // Dynamic loading const Create = () => import('./views/Create') const List = () => import('./views/List') +const Vote = () => import('./views/Vote') Vue.use(Router) @@ -45,6 +46,14 @@ export default new Router({ name: 'list' }, { + path: '/:index(index.php/)?apps/polls/vote/:hash', + components: { + default: Vote + }, + props: true, + name: 'vote' + }, + { path: '/:index(index.php/)?apps/polls/edit/:hash', components: { default: Create |