Skip to content

Commit 02c349f

Browse files
committed
ADD: --base to build
1 parent 8a9af8f commit 02c349f

File tree

4 files changed

+2
-5
lines changed

4 files changed

+2
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"dev": "vite",
77
"build": "run-p type-check build-only",
88
"preview": "vite preview",
9-
"build-only": "vite build",
9+
"build-only": "vite build --base=/vue-bootstrap",
1010
"type-check": "vue-tsc --noEmit"
1111
},
1212
"dependencies": {

public/favicon.ico

-3.06 KB
Binary file not shown.

src/router/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
import { createRouter, createWebHistory } from "vue-router";
22

3-
/** Layouts */
4-
import Page from "@/layouts/Page.vue";
5-
63
export const routes = [
74
{
85
path: "/",

tsconfig.config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"include": ["vite.config.ts"],
44
"compilerOptions": {
55
"composite": true,
6-
"types": ["node"]
6+
"types": ["node", "bootstrap", "vite/client"]
77
}
88
}

0 commit comments

Comments
 (0)