diff options
author | Julius Härtl <jus@bitgrid.net> | 2020-09-03 17:11:47 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2020-09-03 17:11:47 +0300 |
commit | 7419f56fafaf40574ba28f3dc794ad8be99d951e (patch) | |
tree | 0c4cbf3dbaf1fb11db576196244feebc7a1ad26e /src/main.js | |
parent | 2e5b1febf6fabc8a01bc950a69e629a1212f217b (diff) |
Move to new webpack config
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'src/main.js')
-rw-r--r-- | src/main.js | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/src/main.js b/src/main.js new file mode 100644 index 0000000..48e5202 --- /dev/null +++ b/src/main.js @@ -0,0 +1,41 @@ +/* + * @copyright Copyright (c) 2018 Julius Härtl <jus@bitgrid.net> + * + * @author Julius Härtl <jus@bitgrid.net> + * + * @license GNU AGPL version 3 or any later version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * + */ + +import Vue from 'vue'; +import VueFormWizard from 'vue-form-wizard'; +import VueFormGenerator from 'vue-form-generator'; +import VueClipboard from 'vue-clipboard2'; +import App from './App.vue' + + +/* global __webpack_nonce__ OC */ +__webpack_nonce__ = btoa(OC.requestToken); // eslint-disable-line no-native-reassign +Vue.prototype.t = t +Vue.prototype.OCA = OCA + +Vue.use(VueFormWizard); +Vue.use(VueFormGenerator); +Vue.use(VueClipboard); + +new Vue({ + render: h => h(App), +}).$mount('#issuetemplate') |