FAQs
Frequently asked questions
Path#
Blog specific path#
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 }yamlBuild#
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” ↗
Problem with BUN_LINK_PKG#
Build No “Exports” Main Defined#
07:39:23 [ERROR] [@astrojs/vercel] An unhandled error occurred while running the "astro:build:done" hook
No "exports" main defined in /vercel/path0/node_modules/estree-walker/package.json
Stack trace:
...logTry redeploy your project without existing build cache.