|
- /*
- * Copyright © 2021 Adrien Agez <adrien.agez@pm.me>
- *
- * This file is part of Nexus Timers.
- *
- * Nexus Timers 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.
- *
- * Nexus Timers 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 Nexus Timers. If not, see <https://www.gnu.org/licenses/>.
- */
-
- // The Vue build version to load with the `import` command
- // (runtime-only or standalone) has been set in webpack.base.conf with an alias.
- import Vue from 'vue'
- import App from './App'
- import router from './router'
- import { longClickDirective } from 'vue-long-click'
- import VueI18n from 'vue-i18n'
-
- Vue.config.productionTip = false
- Vue.use(VueI18n)
- Vue.directive('longclick', longClickDirective({delay: 750, interval: 0}))
-
- /* eslint-disable no-new */
- new Vue({
- el: '#app',
- router,
- template: '<App/>',
- components: { App }
- })
|