TODOROKI MOTION ブログは以下に移動しました。
3秒後に新しいページへ移動します。
自動的に移動しない場合は、お手数ですが以下をクリックしてください。
The TODOROKI MOTION blog has moved to a new location.
he page will redirect in 3 seconds.
If it doesn't, please click the link below.
pnpm i @vercel/analytics
Enable analytics in your astro.config.mjs below. Just add “webAnanlytics” object to versel() as an argument.
https://vercel.com/docs/analytics/quickstart#enable-analytics-in-your-astro.config.mjs-file
import { defineConfig } from 'astro/config';
import vercel from '@astrojs/vercel/serverless';
export default defineConfig({
output: 'server',
adapter: vercel({
webAnalytics: {
enabled: true,
},
}),
});
You can enable it even if your “output” setting is “static”;
vercel --prod
That’s all.