About base
config
#1197
-
编译的文档有本地打开的需求。因本地存放位置未知,如打开后浏览器url为file:///Users/test/Desktop/docs/index.html或file:///docs/index.html等,针对路径不确定这种情况base(项目基础路径配置)参数是否支持?即把index.html的所在目录作为base目录 |
Beta Was this translation helpful? Give feedback.
Answered by
Timeless0911
Jun 21, 2024
Replies: 1 comment
-
This is definitely not an issue that can be solved by the base directory configuration. Accessing web pages using the file protocol is definitely not a right choice. Opening locally requires starting a server like what |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
bp404
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is definitely not an issue that can be solved by the base directory configuration. Accessing web pages using the file protocol is definitely not a right choice. Opening locally requires starting a server like what
rspress preview
command do.