fix typo, and move release asset to public dir

This commit -
- fixes a a typo in package.json (outDir)
- sets the href of the zip file to ./
- moves the zip asset to the public dir.

Note: public dir is a special dir which hosts files that would be served
as is, so it makes sense to put the release for download there.
This commit is contained in:
Soufiane Fariss
2024-08-12 17:26:50 +02:00
parent 1c9a86ca20
commit 216bfb968d
3 changed files with 3 additions and 3 deletions

View File

@@ -6,7 +6,7 @@
"scripts": {
"dev": "vite",
"build": "vite build",
"build:bundle": "vite build --mode bundle --outDir=capa-exlorer-web",
"build:bundle": "vite build --mode bundle --outDir=capa-explorer-web",
"preview": "vite preview",
"test": "vitest",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore",

View File

@@ -9,7 +9,7 @@ import Menubar from "primevue/menubar";
<a
v-ripple
v-tooltip.right="'Download capa Explorer Web for offline usage'"
href="/capa-explorer-web.zip"
href="./capa-explorer-web.zip"
download="capa-explorer-web.zip"
aria-label="Download capa Explorer Web release"
>