Closed ZhangWei-KUMO closed 1 month ago
I found the method, the vercel build output dictory is public
, just modify svelte.config.js
。
- pages: 'build',
- assets: 'build',
+ pages: 'public',
+ assets: 'public',
it is same work on cloudflare pages
Just change the output directory
from public
to build
in Build & Development Settings
without modifying any code.
Just change the
output directory
frompublic
tobuild
inBuild & Development Settings
without modifying any code.
Thank you for your reply, and I forked it and create a Chinese Edition. https://github.com/ZhangWei-KUMO/transformer-explainer
@Vincentqyw Thanks for your response! The issue seems resolved, so I'll close it.
Can I deploy this repo to Vercel?
I