transformer-explainer icon indicating copy to clipboard operation
transformer-explainer copied to clipboard

Deploy this to Vercel

Open tubexchat opened this issue 1 year ago • 3 comments

Can I deploy this repo to Vercel?

I

tubexchat avatar Aug 13 '24 06:08 tubexchat

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

tubexchat avatar Aug 13 '24 06:08 tubexchat

Just change the output directory from public to build in Build & Development Settings without modifying any code.

Vincentqyw avatar Aug 14 '24 05:08 Vincentqyw

Just change the output directory from public to build in Build & 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

tubexchat avatar Aug 15 '24 03:08 tubexchat

@Vincentqyw Thanks for your response! The issue seems resolved, so I'll close it.

aereeeee avatar Sep 04 '24 23:09 aereeeee