Skip to content

Alternative pages folder #122

Answered by ElMassimo
davestewart asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Dave! @davestewart

You can specify a different pagesDir, relative to the srcDir.

I haven't tested it when pagesDir is outside srcDir, but you could try with:

export default defineConfig({
  srcDir: 'src/app',
  pagesDir: '../content',
})

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ElMassimo
Comment options

Answer selected by ElMassimo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants