錯誤訊息 Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import The plugin “angular-sass” was triggered by this import
處理方式
src/style.scss引入方式@import修改為@use
1
@use 'bootstrap/scss/bootstrap';
錯誤訊息 打包時 Did not expect successive traversals.
▲ [WARNING] 9 rules skipped due to selector errors: .table>>> -> Did not expect successive traversals. .table-sm>>> -> Did not expect successive traversals. .table-bordered>>* -> Did not expect successive traversals. .table-bordered>>> -> Did not expect successive traversals. .table-borderless>>> -> Did not expect successive traversals. .form-floating>label -> Did not expect successive traversals. .form-floating>label -> Did not expect successive traversals. .btn-group>+.btn -> Did not expect successive traversals. .btn-group>+.btn -> Did not expect successive traversals.
✘ [ERROR] The ‘index/product/:id’ route uses prerendering and includes parameters, but ‘getPrerenderParams’ is missing. Please define ‘getPrerenderParams’ function for this route in your server routing configuration or specify a different ‘renderMode’.
處理方式
1 2 3 4 5 6 7 8 9
import { RenderMode, ServerRoute } from '@angular/ssr';