Alternative pages folder #122
Answered
by
ElMassimo
davestewart
asked this question in
Q&A
-
Hey! FYI, I got linked here from a Gridsome thread (having since moved to VuePress) but this looks like a great framework! Anyway, question: would it be possible to have a project structure like this?
I would like to keep logic and content separate for various reasons: find and replace, commits, etc. |
Beta Was this translation helpful? Give feedback.
Answered by
ElMassimo
May 9, 2022
Replies: 1 comment 1 reply
-
Hi Dave! @davestewart You can specify a different I haven't tested it when export default defineConfig({
srcDir: 'src/app',
pagesDir: '../content',
}) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ElMassimo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Dave! @davestewart
You can specify a different
pagesDir
, relative to thesrcDir
.I haven't tested it when
pagesDir
is outsidesrcDir
, but you could try with: