Questions tagged [vuepress]

VuePress is a Vue-powered static site generator.

VuePress is a minimalistic docs generator with Vue component based layout system.

Among other features, it has built-in markdown extensions optimized for technical documentation and the ability to leverage Vue inside markdown files.

244 questions
4
votes
2 answers

Resolve webpack image source within Vue Component (within Vuepress)

I am using the latest Vuepress release (1.0.0-alpha.46) and have the docs configured off the root directory and have an assets folder where I store all my images. Referencing these images in markdown is no problem. For instance: ![…
ken
  • 8,763
  • 11
  • 72
  • 133
4
votes
1 answer

vuepress - How to custom location of components directory '.vuepress/components' with register-components?

I tried to add custom directory of components in vuepress with plugin register/components but it seems not possible. I tried with module.exports = { title: 'Hello VuePress', description: 'Just playing around', plugins: [ [ …
Renan Bronchart
  • 926
  • 17
  • 24
4
votes
1 answer

Change 404 page in vuepress

Is it possible to change / customize the 404 page of Vuepress without ejecting and having to change the whole theme? I am currently using the enhanceApp.js, but I'm unsure how I can change the router options (the catchall route) as the Router is…
Narigo
  • 2,979
  • 3
  • 20
  • 31
3
votes
0 answers

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 still there for some reason. Am I missing…
LovelyAndy
  • 841
  • 8
  • 22
3
votes
0 answers

alias for external links in ( vuejs or vuepress )

Question: What is the proper way to define an alias for external links in vuepress2 or vuejs? Problem: I have a documentation site hosted in github pages, I want to link some source files to…
AliReza Sabouri
  • 4,355
  • 2
  • 25
  • 37
3
votes
0 answers

How do I package a Vue component with a VuePress plugin?

In How do I dynamically load a YAML file as an object in a VuePress Vue Component? I created a Vue Component that renders Swagger but requires a YAML loader configured which is done in a plugin. I want to package this as a single npm package that…
Archimedes Trajano
  • 35,625
  • 19
  • 175
  • 265
3
votes
1 answer

"fetch is not defined" on vuepress build

I am trying to build a static site with vuepress. I have a vue component that is used that uses the javascript fetch library. It looks like this: