【发布时间】:2020-06-24 19:53:53
【问题描述】:
如何在 Svelte 中设置部署路径? 我想在不同路径的网络服务器上使用它,例如
https://example.com/somewhere-else/index.html
但是现在在我运行 npm build 之后,我必须像这样使用它:
https://example.com/index.html
它一定是 rollup.config.js 中的内容,但我找不到。
【问题讨论】:
-
你在使用 Sapper 吗?
-
不,只是个苗条。
标签: javascript svelte-3