Isolate content to a specific subdirectory.
A subdirectory as the content entrypoint, would make it trivial to sync the content elsewhere (dropbox, google drive, etc) and then be edited by non-techies.
config.js
module.exports = {
content: "./myContentDir" // sets the directory entry point for site content
}
Yes, just need some advice on what files / variables to look out for
Try vuepress dev [targetDir].
Thanks for the input, but i'm not sure this solves the problem.
This solution still requires the .vuepress directory to be included inside [targetDir]
folder structure
- package.json
- .vuepress
- node_modules
- myContentDir
|
- README.md
- About.md
- subFolder
|
- README.md
- AnotherPage.md
Most helpful comment
Thanks for the input, but i'm not sure this solves the problem.
This solution still requires the
.vuepressdirectory to be included inside[targetDir]folder structure