vitepress icon indicating copy to clipboard operation
vitepress copied to clipboard

Add an example to show how to configure head (especially a favicon)

Open tkzt opened this issue 3 years ago • 2 comments

Is your feature request related to a problem? Please describe.

When configuring the favicon of my site without a thorough unstanding on vitepress project structure, I felt confused about how to represent the icon path. I think there should be a head section in the app configs page (just like this), which can be a great referrence for rookie like me.

Describe the solution you'd like

Add a head section to this page to show how to configure head (especially a favicon) .

Describe alternatives you've considered

No response

Additional context

No response

Validations

tkzt avatar Jun 29 '22 04:06 tkzt

Yap, we should document this 👍

kiaking avatar Jun 29 '22 04:06 kiaking

Actually adding a favicon doesn't need any config. Just put a favicon.ico in your public directory. Config is required when you've that icon file with some different name or base is set.

brc-dd avatar Jun 29 '22 06:06 brc-dd

Nice 🧐

tkzt avatar Aug 16 '22 08:08 tkzt