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
22
votes
2 answers

fontawesome error "Could not find one or more icon"

I followed https://fontawesome.com/how-to-use/on-the-web/using-with/vuejs. But when use it like: import { library } from '@fortawesome/fontawesome-svg-core' import { faBars } from '@fortawesome/free-solid-svg-icons' import { faTwitter, faFacebook,…
JustWe
  • 4,250
  • 3
  • 39
  • 90
13
votes
2 answers

Linking to assets in Vuepress

I want to keep related assets in the same folder as the relevant markdown. +-- README.md +-- some-folder | +-- index.md | +-- img | +-- example-screenshot.png Displaying the image on the page is fine using: ![Some Alt…
sanscheese
  • 131
  • 1
  • 4
8
votes
2 answers

List subfolders in sidebar navigation

In my config.js file I have created this sidebar sidebar: { '/docs/': [ '', 'gettingStarted', 'guides', 'media' ], '/docs/gettingStarted/': [ …
Question3r
  • 2,166
  • 19
  • 100
  • 200
7
votes
2 answers

How to add vuetify to default vuepress theme

Is it possible to add vuetify to default vuepress theme ? I just need to add few components to default theme however it would be nice to use the vuetify for handling forms within my components. I have found a custom vuepress theme which uses a…
TimB
  • 125
  • 3
  • 11
7
votes
2 answers

Vuepress inside and integrated with Vue project

I´m starting with Vuepress (https://vuepress.vuejs.org), and i´d followed the docs to integrate it with an existing project (https://vuepress.vuejs.org/guide/getting-started.html#inside-an-existing-project). I used the sugested docs directory. But…
Cavalcante
  • 101
  • 1
  • 4
6
votes
2 answers

How to use a Vue plugin to Vuepress?

For example, I want to add https://github.com/Akryum/v-tooltip tooltip plugin to my Vuepress project. It asks us to do Vue.use, not sure how to do that because I get "Vue" is undefined.
Raja Rao
  • 5,691
  • 2
  • 28
  • 31
6
votes
2 answers

Using Vuepress within a Laravel project

I'm actually running a Laravel website in which I would like to run a Vuepress documentation section. Installing Vuepress is quite straightforward thanks to the instructions and so is the development server. However, when it comes to integrating it…
Sebastien D
  • 4,369
  • 4
  • 18
  • 46
5
votes
3 answers

How to change content of VuePress page via Plugin

I am trying to set up a plugin to change the content of a VuePress markdown file on the dev server and production build. According to documentation, I should be able to use the _content and _strippedContent that is available to me with the…
bretterer
  • 5,693
  • 5
  • 32
  • 53
5
votes
2 answers

image with caption - vuepress

I'm trying to create a component in vuepress to display an image with its caption. When I hardcode the image path, the image appears but this way I will not have a reusable component. I already try with props, but it doesn't work either. Here is…
Vitor Carvalho
  • 335
  • 1
  • 5
  • 11
5
votes
2 answers

How to add code highlighting to VuePress?

VuePress seems to only support a handful of languages for doing syntax highlighting by default (also with the default theme). The documentation mention "Line Highlighting" a lot, but that's a totally different feature to highlight a specific line…
Khepin
  • 931
  • 9
  • 16
5
votes
0 answers

Access VuePress docs from within a VueJS app?

Suppose I have a VueJS app that requires the user to login/authenticate in order to use my app. If I then build documentation with VuePress and house that documentation within the app, is there a way I can link to the documentation from within the…
Garfonzo
  • 3,876
  • 6
  • 43
  • 78
4
votes
3 answers

VuePress not hot reloading, but does when config.js is changed

I'm using VuePress for the first time, and updating .md files isn't triggering live reloading. If I update the .vuepress/config.js my browser does reload. If I run: vuepress dev --debug I see this line in the output, which seems suspicious: debug…
Djave
  • 8,595
  • 8
  • 70
  • 124
4
votes
0 answers

How to use jsx in vuepress?

Config // ./docs/.vuepress/config.js module.exports = { ... chainWebpack: (config, isServer) => { config.module .rule("js") // Find the rule. .use("babel-loader") // Find the loader .tap(options => merge(options, { …
EmiyaYang
  • 41
  • 2
4
votes
0 answers

Trying to require or import a npm installed module inside a vuepress component

I have 'npm install -S tabletop' into my vuepress site and I am struggling to either import or require the tabletop module. I know next to nothing about webpack nor the internals of vuepress (this is nmy first vuepress project) Building a static…
4
votes
1 answer

How to add Vuepress on a Nuxt project in a proper way?

I have my Nuxt app and I'm trying to add Vuepress on it. I did yarn add vuepress@next -D then created the docs folder and a readme.md file in there. The problem: The project only shows the sidebar and navbar if the .vuepress folder is outside of…
Fabio Zanchi
  • 924
  • 3
  • 16
  • 32
1
2 3
16 17