create-vinext-stack
v1.0.1
Published
用於建立 Vinext 專案的 CLI,支援多語系設定與 Cloudflare 快速模式。
Downloads
209
Readme
vinext-stack
用於建立 Vinext 專案的 CLI,支援多語系設定與 Cloudflare 快速模式。
安裝與執行
推薦(無需全域安裝)
bun create vinext-stack也支援:
npm create vinext-stack@latest
pnpm create vinext-stack@latest
yarn create vinext-stack本地開發(此儲存庫)
bun install
bun run index.ts功能
CLI 會引導使用者完成:
- 選擇介面語言
- 使用已儲存設定繼續,或略過並重新設定
- 選擇建立模式:
Cloudflare ready:官方 Next.js scaffold + 自動vinext initCustom Vinext scaffold:直接產生 Vinext 專案
- 選擇路由(
App Router或Pages Router) - 選擇套件管理器
已儲存設定
設定檔位置:
~/.vinext-config.json
下次執行可選:
- 使用已儲存設定繼續(略過提問)
- 略過已儲存設定並立即重新設定
支援語言(10)
- English (
en) - Español (
es) - Português (Brasil) (
pt-BR) - Français (
fr) - Deutsch (
de) - Italiano (
it) - 日本語 (
ja) - 한국어 (
ko) - 中文 (简体) (
zh-CN) - 中文 (繁體) (
zh-TW)
型別檢查
bunx tsc --noEmit