Questions tagged [vuepress2]
4 questions
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
2
votes
0 answers
Can I use a Vue interpolation inside a VuePress code block
In my VuePress project I have a code block that looks like this
```cs
string pageName = getPageName("{{ $page.key }}");
```
What I want to see on the static site is:
```cs
string pageName = getPageName("v-10013ae8");
```
Where the…

Mark Davich
- 512
- 1
- 5
- 16
1
vote
0 answers
Vuepress 2 and Tailwind CSS
I'm trying to use Tailwind CSS with Vuepress 2.
I have installed npm install -D tailwindcss@latest postcss@latest autoprefixer@latest.
In my .vuepress/config.js file I have:
import tailwindcss from 'tailwindcss'
import autoprefixer from…

o..o
- 1,789
- 5
- 31
- 59
0
votes
0 answers
How to load js file at the beginning of the head in vuepress2
I use vuepress2 and want to import a js file.
It will append to the end of the head when I append config in the .vuepress/config.ts
head: [
['script', { type: 'text/javascript', src: '*.js' }]
]
How can I append the js to the beginning of…

Shing
- 3
- 3