Skip to content

Commit

Permalink
add vite build base
Browse files Browse the repository at this point in the history
  • Loading branch information
fxi committed Oct 17, 2024
1 parent 7ddaf47 commit 3a70418
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link rel="icon" type="image/svg+xml" href="/grid_stat/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
<script type="module" crossorigin src="/assets/index-e1la1w4A.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-UcM9-7JS.css">
<script type="module" crossorigin src="/grid_stat/assets/index-e1la1w4A.js"></script>
<link rel="stylesheet" crossorigin href="/grid_stat/assets/index-UcM9-7JS.css">
</head>
<body>
<div id="root"></div>
Expand Down
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { defineConfig } from "vite"

export default defineConfig({
plugins: [react()],
base: '/grid_stat/',
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
Expand Down

0 comments on commit 3a70418

Please sign in to comment.