将 Pinia Colada 模块添加到你的 Nuxt 应用程序中,以处理 SSR 并安装 Pinia Colada。
通过一个命令将模块安装到您的 Nuxt 应用中
npx nuxi module add @pinia/colada-nuxt
就是这样!你现在可以在你的 Nuxt 应用中使用 Pinia Colada 啦 ✨
# Install dependencies
pnpm install
# Generate type stubs
pnpm run dev:prepare
# Develop with the playground
pnpm run dev
# Build the playground
pnpm run dev:build
# Run ESLint
pnpm run lint
# Run Vitest
pnpm run test
pnpm run test:watch
# Release new version
pnpm run release