Compare commits

3 Commits

Author SHA1 Message Date
5ceadd09dd Fix asset path in navbar
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-22 20:01:03 +01:00
7387f33678 fix basepath
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-22 19:57:36 +01:00
f4c704740a ci: uncommented wrong pipeline
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-22 19:49:41 +01:00
3 changed files with 11 additions and 10 deletions

View File

@@ -3,9 +3,9 @@ kind: pipeline
type: kubernetes
name: build-clis
#trigger:
# branch:
# - main
trigger:
branch:
- main
steps:
- name: build
@@ -32,9 +32,9 @@ kind: pipeline
type: kubernetes
name: build-wasm
trigger:
branch:
- main
#trigger:
# branch:
# - main
volumes:
- name: wasm

View File

@@ -1,7 +1,7 @@
<script setup lang="ts">
const downloads = [
{ name: 'Linux', link: './assets/covergen.linux-amd64' },
{ name: 'Darwin', link: './assets/covergen.darwin-amd64' },
{ name: 'Linux', link: './dist/covergen.linux-amd64' },
{ name: 'Darwin', link: './dist/covergen.darwin-amd64' },
];
</script>
<template>

View File

@@ -3,11 +3,12 @@ import vue from '@vitejs/plugin-vue';
import { resolve } from 'path';
// https://vitejs.dev/config/
export default defineConfig({
export default defineConfig(({ mode }) => ({
plugins: [vue()],
base: mode === 'production' ? '/covergen/' : '/',
resolve: {
alias: {
'@': resolve(__dirname, './src'),
},
},
});
}));