Repository navigation
how to enable SSL in local vuepress #1453
Answered
by
darkSheep404
darkSheep404
asked this question in
Q&A
|
hi, dear vuepress-next team https://stackoverflow.com/questions/62977236/vuepress-how-can-i-use-https-in-dev-server |
Answered by
darkSheep404
Dec 12, 2023
Replies: 3 comments 1 reply
|
We do not offer support for unnormal usage. VuePress is a statIc site generator, Which means you should build the project and use the output files for production |
0 replies
|
You can check vite's docs. VuePress dev server is based on it. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thanks a lot~
by adding this in
config.js,it works我在之前错误的使用单独的
vite.config.js应该参照这个 使用
viteOptionshttps://v2.vuepress.vuejs.org/reference/bundler/vite.html#options
vite enable ssl refer to this
https://stackoverflow.com/questions/69417788/vite-https-on-localhost