Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: refactor vite config #21

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

ruibaby
Copy link
Contributor

@ruibaby ruibaby commented Nov 26, 2024

重构静态资源构建方式,采用 ES Module 加载资源,参考:https://vite.dev/guide/backend-integration.html

image

需要注意,合并此 PR 后,开发环境下需要下面的设置,并启动 Vite 服务。

image

Signed-off-by: Ryan Wang <i@ryanc.cc>
@wan92hen wan92hen merged commit 393d24b into wan92hen:main Nov 26, 2024
@wan92hen
Copy link
Owner

Close #20

@wan92hen wan92hen mentioned this pull request Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants