Vuepress: Customizable .vuepress Directory Location

Created on 17 Apr 2018  路  3Comments  路  Source: vuejs/vuepress

Currently, while running npx vuepress build docs in the project root, VuePress will ONLY look for docs/.vuepress/config.js file, which resulting in a nested project structue:

/docs/README.md
/docs/.vuepress/config.js
/docs/.vuepress/dist/*

Ideally, we could specify the .vuepress path via command line option, so the .vuepress directory and the generated files won't mess up with the docs directory, for example:

npx vuepress build --vuepress-dir=.vuepress docs

Results in:

/docs/README.md
/.vuepress/config.js
/.vuepress/dist/*

I know there's a --dest option for specifying the dist directory, but the ability to specify the entire .vuepress directory would be great!

All 3 comments

I don't see practical value in this except for personal preference, so probably not.

Practical value: dot files are excluded by default for _many_ development tools. Using a hidden directory requires specialized development set-up. What's the advantage to this?

Funny that @yyx990803 his view on this is getting quite some thumbs down which ironically shows that people would like to have this feature... Same as me.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lileiseven picture lileiseven  路  3Comments

cfjedimaster picture cfjedimaster  路  3Comments

genedronek picture genedronek  路  3Comments

sankincn picture sankincn  路  3Comments

zeke picture zeke  路  3Comments