-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
- Loading branch information
Showing
12 changed files
with
2,561 additions
and
3,273 deletions.
There are no files selected for viewing
File renamed without changes.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,8 @@ | ||
import Vue from 'vue' | ||
import ComparisonContent from './ComparisonContent.vue' | ||
import './bootstrap.js' | ||
import '../css/maplibre.scss' | ||
import { getRequestToken } from '@nextcloud/auth' | ||
import { generateFilePath } from '@nextcloud/router' | ||
|
||
__webpack_nonce__ = btoa(getRequestToken()) // eslint-disable-line | ||
__webpack_public_path__ = generateFilePath('gpxpod', '', 'js/') // eslint-disable-line | ||
Vue.mixin({ methods: { t, n } }) | ||
|
||
const View = Vue.extend(ComparisonContent) | ||
new View().$mount('#content') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,13 @@ | ||
import Vue from 'vue' | ||
import App from './App.vue' | ||
import './bootstrap.js' | ||
import '../css/maplibre.scss' | ||
import '@nextcloud/dialogs/style.css' | ||
import { getRequestToken } from '@nextcloud/auth' | ||
import { generateFilePath } from '@nextcloud/router' | ||
|
||
import VueClipboard from 'vue-clipboard2' | ||
import Tooltip from '@nextcloud/vue/dist/Directives/Tooltip.js' | ||
Vue.directive('tooltip', Tooltip) | ||
Vue.use(VueClipboard) | ||
|
||
__webpack_nonce__ = btoa(getRequestToken()) // eslint-disable-line | ||
__webpack_public_path__ = generateFilePath('gpxpod', '', 'js/') // eslint-disable-line | ||
Vue.mixin({ methods: { t, n } }) | ||
|
||
const View = Vue.extend(App) | ||
new View().$mount('#content') |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/** | ||
* SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors | ||
* SPDX-License-Identifier: AGPL-3.0-or-later | ||
*/ | ||
import { createAppConfig } from '@nextcloud/vite-config' | ||
import eslint from 'vite-plugin-eslint' | ||
import stylelint from 'vite-plugin-stylelint' | ||
|
||
console.error('process.env.NODE_ENV', process.env.NODE_ENV) | ||
const isProduction = process.env.NODE_ENV === 'production' | ||
|
||
export default createAppConfig({ | ||
vueGpxpod: 'src/vueGpxpod.js', | ||
vueGpxComparison: 'src/vueGpxComparison.js', | ||
filesPlugin: 'src/filesPlugin.js', | ||
adminSettings: 'src/adminSettings.js', | ||
// gpxpod: 'src/gpxpod.js', | ||
// gpxvcomp: 'src/gpxvcomp.js' | ||
}, { | ||
config: { | ||
css: { | ||
modules: { | ||
localsConvention: 'camelCase', | ||
}, | ||
}, | ||
//plugins: [eslint(), stylelint()], | ||
}, | ||
inlineCSS: { relativeCSSInjection: true }, | ||
minify: isProduction, | ||
}) |
This file was deleted.
Oops, something went wrong.