Skip to content

Commit

Permalink
fix: 将dist放到项目中
Browse files Browse the repository at this point in the history
  • Loading branch information
OldSaltFish committed Dec 12, 2024
1 parent f6a8d83 commit 2b323cb
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ lerna-debug.log*

node_modules
.DS_Store
dist
# dist用作部署
# dist
dist-ssr
coverage
*.local
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ json-server db.json5
```bash
pnpm build
```
生成dist目录后,将其内部全部文件移动到springboot项目对应的静态文件目录下。
1 change: 1 addition & 0 deletions dist/assets/index-CP-5MLHX.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions dist/assets/index-Chp3faFn.js

Large diffs are not rendered by default.

Binary file added dist/favicon.ico
Binary file not shown.
Binary file added dist/img/toggle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions dist/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html lang="">
<head>
<meta charset="UTF-8">
<link rel="icon" href="/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Vite App</title>
<script type="module" crossorigin src="/assets/index-Chp3faFn.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-CP-5MLHX.css">
</head>
<body>
<div id="app"></div>
</body>
</html>

0 comments on commit 2b323cb

Please sign in to comment.