-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
files after built can not be opened directly in browser #667
Comments
Of course you cannot do that, you can only serve vuepress dist files under a static server. e.g. express.static or koa-static. BTW, please follow the issue reporting guidelines. |
@ulivz you sure ? because it was doing in vue projects with some configuration like
and then was possible to use project directly in browser or in some standart ftp. |
It's useful when you deploy your site to a root URL, But If your site is deployed to a non-root URL, you will need to set the At the same time, the real production environment also uses a static server, so please use static server. See also: #575 (comment) |
Duplicate of #575 |
@ulivz what is the static server mean ? |
@ulivz i understand now the point :) sorry. Yes when i upload content of dist folder to root of my ftp everything works well. now question is: where and with which configuration i can upload my builded vuepress projects to subfolder. not the root folder ? |
@cihanzengin You should check out base config. |
files after built can not be opened directly in browser, and can not be used in electron. we made some vuepress documents and hope to can be opened directly in browser or electron. but not deployed on a web server. how should we do?
The text was updated successfully, but these errors were encountered: