Replies: 4 comments
-
Looks like MkDocs and Material Theme can generate offline version. Can we have this in vitepress, please? |
Beta Was this translation helpful? Give feedback.
-
I opened my local index.html on Chrome. Following problems are found.
Access to script at 'file:///C:/example/vp/.vitepress/dist/assets/app.98c5af02.js' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, isolated-app, chrome-extension, chrome-untrusted, https, edge.
GET file:///C:/example/vp/.vitepress/dist/assets/app.98c5af02.js net::ERR_FAILED
Access to font at 'file:///C:/example/vp/.vitepress/dist/assets/inter-roman-latin.2ed14f66.woff2' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, isolated-app, chrome-extension, chrome-untrusted, https, edge.
GET file:///C:/example/vp/.vitepress/dist/assets/inter-roman-latin.2ed14f66.woff2 net::ERR_FAILED
Access to script at 'file:///C:/example/vp/.vitepress/dist/assets/chunks/framework.5a29b857.js' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, isolated-app, chrome-extension, chrome-untrusted, https, edge.
GET file:///C:/example/vp/.vitepress/dist/assets/chunks/framework.5a29b857.js net::ERR_FAILED
Access to script at 'file:///C:/example/vp/.vitepress/dist/assets/chunks/theme.8c3aed4d.js' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, isolated-app, chrome-extension, chrome-untrusted, https, edge.
GET file:///C:/example/vp/.vitepress/dist/assets/chunks/theme.8c3aed4d.js net::ERR_FAILED
Access to script at 'file:///C:/example/vp/.vitepress/dist/assets/index.md.e78511eb.lean.js' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, isolated-app, chrome-extension, chrome-untrusted, https, edge.
GET file:///C:/example/vp/.vitepress/dist/assets/index.md.e78511eb.lean.js net::ERR_FAILED From the above I have determined that vitepress is not locally usable. |
Beta Was this translation helpful? Give feedback.
-
I'm also looking for this feature. It looks like there's some Vite plugins to make a single-page, but the build process fails when they are enabled. There's also an experimental Anyone have any luck with this? |
Beta Was this translation helpful? Give feedback.
-
this issue important. because I want to this feature. I can use my desktop projects |
Beta Was this translation helpful? Give feedback.
-
When dev:build the project im getting the output to be servable on any web
But if i need to have a local resource documentation, that can be server from any folder, usb or cd.. how? Maybe im missing something, again
Thank you
Beta Was this translation helpful? Give feedback.
All reactions