如何使用 svelte-kit 获得正确的生产版本?

问题描述 投票:0回答:1

我正在尝试 svelte-kit,它看起来很有前途。但是,当我运行 npm run build 时,我感到困惑。我曾经获得一个“dist”文件夹,其中包含一个index.html文件+一些javascript,我可以将其部署到Web服务器。使用 svelte-kit,我得到一个 .svelte-kit 文件夹,其中有很多奇怪的文件,但没有 index.html。我是不是错过了什么?

sveltekit
1个回答
0
投票

src文件夹下应该有一个app.html文件,相当于index.html。

© www.soinside.com 2019 - 2024. All rights reserved.