vitepress icon indicating copy to clipboard operation
vitepress copied to clipboard

docs: add documentation for `publicDir`

Open dmohns opened this issue 1 year ago • 2 comments

Added a paragraph in Public Directory documentation for users seeking to customise the behaviour of it.

Should prevent confusions like

  • https://github.com/vuejs/vitepress/issues/3203
  • https://github.com/vuejs/vitepress/issues/3884

dmohns avatar May 13 '24 09:05 dmohns

It's part of vite config not vitepress one. This won't work.

brc-dd avatar May 13 '24 09:05 brc-dd

@brc-dd I updated the documentation and moved it to the correct place. Let me know what you think.

dmohns avatar May 13 '24 10:05 dmohns

I'm closing this, as I don't think it provides much benefit in the documentation.

dmohns avatar May 22 '24 09:05 dmohns