【发布时间】:2022-11-11 00:25:31
【问题描述】:
我一直在用 astro (https://astro.build) 创建一个网站,一段时间后,在运行 astro preview 时出现错误。这是我的astro.config.mjs 代码:
import { defineConfig } from 'astro/config';
import vercel from '@astrojs/vercel/serverless';
import serviceWorker from 'astrojs-service-worker';
export default defineConfig({
trailingSlash: 'ignore',
output: 'server',
adapter: vercel(),
integrations: [serviceWorker()],
});
任何帮助,将不胜感激。
【问题讨论】:
标签: javascript html web preview astro