poloclub / transformer-explainer

Transformer Explained Visually: Learn How LLM Transformer Models Work with Interactive Visualization
https://poloclub.github.io/transformer-explainer/
MIT License
2.91k stars 259 forks source link

Deploy this to Vercel #16

Closed ZhangWei-KUMO closed 1 month ago

ZhangWei-KUMO commented 2 months ago

Can I deploy this repo to Vercel?

I

ZhangWei-KUMO commented 2 months 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

Vincentqyw commented 2 months ago

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

ZhangWei-KUMO commented 2 months ago

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

aereeeee commented 1 month ago

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