File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,17 +27,17 @@ vp config
2727
2828## よく使うコマンド
2929
30- | 用途 | 推奨コマンド | npm script |
31- | --- | --- | --- |
32- | 開発サーバ | ` vp dev ` | ` pnpm dev ` |
33- | ビルド | ` vp build ` | ` pnpm build ` |
34- | 静的生成 | ` pnpm generate ` | ` pnpm generate ` |
35- | プレビュー | ` pnpm preview ` | ` pnpm preview ` |
36- | Lint | ` pnpm lint ` | ` pnpm lint ` |
37- | Format | ` vp fmt --write ` | ` pnpm fmt ` |
38- | Format 確認 | ` vp fmt --check ` | ` pnpm fmt:check ` |
39- | Type Check | ` pnpm typecheck ` | ` pnpm typecheck ` |
40- | Test | ` pnpm test ` | ` pnpm test ` |
30+ | 用途 | 推奨コマンド | npm script |
31+ | ------------- | ----------------- | -------------- --- |
32+ | 開発サーバ | ` vp dev ` | ` pnpm dev ` |
33+ | ビルド | ` vp build ` | ` pnpm build ` |
34+ | 静的生成 | ` pnpm generate ` | ` pnpm generate ` |
35+ | プレビュー | ` pnpm preview ` | ` pnpm preview ` |
36+ | Lint | ` pnpm lint ` | ` pnpm lint ` |
37+ | Format | ` vp fmt --write ` | ` pnpm fmt ` |
38+ | Format 確認 | ` vp fmt --check ` | ` pnpm fmt:check ` |
39+ | Type Check | ` pnpm typecheck ` | ` pnpm typecheck ` |
40+ | Test | ` pnpm test ` | ` pnpm test ` |
4141| Test(watch) | ` pnpm test:watch ` | ` pnpm test:watch ` |
4242
4343作業前後の検証は、変更内容に応じて ` pnpm lint ` 、` pnpm fmt:check ` 、` pnpm typecheck ` 、` pnpm test ` を組み合わせます。
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ pnpm install
2929
3030## Commands
3131
32- 開発サーバやビルドなどの npm scripts は pnpm 経由で実行できます。Vite+ の ` vp dev ` / ` vp build ` も Nuxt に橋渡しされ、Format は Vite+ の ` vp fmt ` 、Lint / Type Check は Vize 系ツールを利用します。
32+ 開発サーバやビルドなどの npm scripts は pnpm 経由で実行できます。Vite+ の ` vp dev ` / ` vp build ` も Nuxt に橋渡しされ、Format は Vite+ の ` vp fmt ` 、Lint / Type Check は Vize 系ツールを利用します。Vize の Vue SFC compiler は Nuxt 4.4.2 の内部ルート描画との互換性を保つため、 ` VIZE_NUXT_COMPILER=1 ` の明示 opt-in で有効化します。
3333
3434| 用途 | コマンド |
3535| ------------- | ----------------------------------- |
Original file line number Diff line number Diff line change 11import { defineNuxtConfig } from 'nuxt/config' ;
2+
23// https://nuxt.com/docs/api/configuration/nuxt-config
34export default defineNuxtConfig ( {
45 // https://nuxt.com/modules
@@ -27,6 +28,7 @@ export default defineNuxtConfig({
2728 hub : { } ,
2829
2930 vize : {
30- compiler : process . env . VIZE_NUXT_COMPILER !== '0' ,
31+ compiler : process . env . VIZE_NUXT_COMPILER === '1' ,
32+ musea : false ,
3133 } ,
3234} ) ;
You can’t perform that action at this time.
0 commit comments