Skip to content

Commit

Permalink
feat: init
Browse files Browse the repository at this point in the history
  • Loading branch information
liujiayii committed Nov 24, 2022
1 parent a4ef2a7 commit b3ecf62
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 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="/slot-machine/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.45e79467.js"></script>
<link rel="stylesheet" href="/assets/index.ebae21e7.css">
<script type="module" crossorigin src="/slot-machine/assets/index.45e79467.js"></script>
<link rel="stylesheet" href="/slot-machine/assets/index.ebae21e7.css">
</head>
<body>
<div id="root"></div>
Expand Down
6 changes: 5 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,9 @@ import react from '@vitejs/plugin-react'

// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()]
plugins: [react()],
base: '/slot-machine/',
build: {
outDir: 'docs'
}
})

0 comments on commit b3ecf62

Please sign in to comment.