改善詳細 / Details of Improvement
- エラーの削除
該当部分:
$ nuxt-ts generate --fail-on-page-error
[warn] mode option is deprecated. You can safely remove it from nuxt.config
Error: [nuxt-purgecss] Webpack mode only works with build.extractCSS set to true. Either extract your CSS or use 'postcss' mode
Error: [nuxt-purgecss] Webpack mode only works with build.extractCSS set to true. Either extract your CSS or use 'postcss' mode
nuxt.config.ts の /* extractCSS: true, */ のコメントを外すと、表示が崩れておかしくなった(原因不明)
スクリーンショット / Screenshot

期待する見せ方・挙動 / Expected behavior
動作環境・ブラウザ / Environment
改善詳細 / Details of Improvement
該当部分:
$ nuxt-ts generate --fail-on-page-error
[warn]
modeoption is deprecated. You can safely remove it fromnuxt.configError: [nuxt-purgecss] Webpack mode only works with build.extractCSS set to true. Either extract your CSS or use 'postcss' mode
Error: [nuxt-purgecss] Webpack mode only works with build.extractCSS set to true. Either extract your CSS or use 'postcss' mode
nuxt.config.ts の /* extractCSS: true, */ のコメントを外すと、表示が崩れておかしくなった(原因不明)
スクリーンショット / Screenshot
期待する見せ方・挙動 / Expected behavior
動作環境・ブラウザ / Environment