Fetch the repository succeeded.
A demo SvelteKit app running on Vercel Edge Functions, which run close to your users to enable dynamic server-side rendering at the speed of static content.
@sveltejs/adapter-vercel
adapter-vercel
instead of the default adapter-auto
runtime: 'edge'
option to the adapterOnce you've created a project and installed dependencies with npm install
(or pnpm install
or yarn
), start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
The easiest way to deploy your app is to link the repo to your Vercel account. Alternatively, you can create a production build locally...
npm run build
...and deploy the prebuilt app to Vercel:
vc deploy --prebuilt
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。