Integrate VitePress at a Specific Route within Nuxt Project #3785
Unanswered
r00tmeister
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I also had the same thought earlier, while when I tried to design it, it seems a lot of conflicts not only in routing but also design part, like in Nuxt there is the app header with logo and nav etc, where should the vitepress app header exist? I believe it can be resolved with customize vitepress theme, but it lost the original purpose of using VitePress for fast and pretty documentation. Per my thought, there might be two solutions: 1. use separate sites for Nuxt main web app and Vitepress as documentation, 2. try the under developing @nuxt/content module. Just my two cents... |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Title: Integrate VitePress at a Specific Route within Nuxt Project
Description:
I'm working on a Nuxt project and would like to integrate VitePress to serve documentation at a desired route (e.g.,
/docs
). I'm encountering challenges in configuring and seamlessly embedding VitePress within the existing Nuxt structure.Key Questions:
Desired Outcome:
Additional Context:
On local machine both work:
Nuxt: http://localhost:3000/
Vitepress: http://localhost:5173/
** Current Nuxt config: **
** Current azure Github actions pipeline **
Thank you for your assistance!
Beta Was this translation helpful? Give feedback.
All reactions