243 questions
Score of 0
0 answers
25 views
How to Dynamically Add Pages for Search Indexing at Runtime in VuePress 2?
I'm migrating a VuePress 1 site to VuePress 2. In VuePress 1, I was able to fetch data (e.g., videos) from an API at runtime and inject new pages into $site.pages. This allowed the built-in search ...
Score of 0
0 answers
43 views
How to override Layout.vue when extending the default theme in VuePress 2?
I'm working with VuePress 2 and want to customize the main layout of my site.
I understand that when you extend the default theme (using extends: defaultTheme(options) in .vuepress/theme/index.js), ...
Score of 1
0 answers
120 views
Can we add route aliases for articles?
I'm currently using VitePress for a new docs site and I'm curious to know if route aliases are supported. Specifically, I'd like to know if it's possible to have multiple URLs pointing to the same ...
Score of 0
1 answer
228 views
Why has this VuePress Compilation failed?
I'm trying to set up my personal blog. Everything's working fine under the dev environment, but when I when vuepress build docs it throws a huge bunch of errors. I'm not really familiar with frontend ...
Score of 1
0 answers
122 views
How to use vue-matomo in Vuepress 2. Window is not defined
I am trying to set up Matomo in a Vuepress 2 project. I have found the vue-matomo plugin but don't know how to set up a Vue plugin to run in a Vuepress project. I have tried to follow these guides:
...
Score of 2
2 answers
1579 views
How to use Vuepress or Vitepress into an existing Vue project?
Is there a way of integrate inside a Vue project a Vitepress or Vuepress project?. Is there a way to create system documentation like that created by Vuepress or Vitepress that can be accessed from ...
Score of 0
0 answers
124 views
vitepress discord-message-components build error
I am writing documentation in Vitepress and I included the discord-message-component in the project, there is no problem in the development phase, but when I want to get the build, the problem I ...
Score of 0
1 answer
609 views
Vitepress prepends previous route segment to next route
I have a Vitepress 1.0.0-alpha.40 project with the following configuration
import { defineConfig } from 'vitepress'
export default defineConfig({
base: './',
outDir: '../dist',
...
Score of 0
1 answer
163 views
How to set a default route in vuepress when no page exists
I'm using Vuepress 1.5. I was wondering if there is a way to redirect users back to the root path (/) if they navigate to a route that does not exist e.g. /some-unknow-path/new
The default setting for ...
Score of 0
1 answer
77 views
Netlify does not load customed CSS when deploy Vuepress blog
Hope you have a nice day.
I'm using a theme (vuepress-theme-gungnir) to make a little blog with Vuepress. Now I have finished personal edition to custom this theme.
Everything run perfectly at local (...
Score of 1
1 answer
403 views
It doesn't work after integrating TailwindCSS's v3 PostCSS plugin in `.vuepress/config.ts`
I'm trying to use Tailwind CSS with Vuepress 2. I have installed:
npm install -D tailwindcss@3 postcss@latest autoprefixer@latest
In my .vuepress/config.js file I have:
import tailwindcss from '...
Score of 2
1 answer
165 views
VuePress: Remove external links icons
In Vuepress default theme, every time you add an external link, an icon is added to the link.
I am creating a new theme that inherits the default theme, but I would like to remove this behavior.
How ...
Score of 0
1 answer
81 views
[VuePress]: Extract links from data
In VuePress, I am modifying the default home page.
Given the data that I obtain from the markdown page, how can I do to interpret the links provided in that data?
I get the data in the following way:
....
Score of 1
0 answers
402 views
Getting Error: getaddrinfo ENOTFOUND on Vue build
I'm using Vuepress 2 with Vue3 and a Vite bundler.
My markdown pages contain a simple component, whose job it is to fetch resources on other endpoints, It looks something like this:
export default ...
Score of 4
0 answers
1197 views
Removing the aside in vitepress
Feeling really silly right now, but for whatever reason I cannot get this aside to go away in my vitepress docs.
The docs say that I just need to add aside: false and it should be gone, but mine is ...