FAQs
Frequently asked questions
Routes#
Blog specific route#
Routing blogs format like /blog/:year/:id
Content#
Support web images for heroImage
#
It should be used with inferSize: true
to get the image size. Example:
heroImage:
{ src: 'https://img.tukuppt.com/ad_preview/00/15/09/5e715a320b68e.jpg!/fw/980', inferSize: true }
yamlVite#
Vite Block Request#
Blocked request. This host ("xxx")is not allowed.
To allow this host, add "xxx" to `preview.allowedHosts` in vite.config.js.
logSee option server.allowedHosts doesn’t take into account “true” ↗