After downloading and running the nuxt admin template, the dev script produces multiple Sass deprecation warnings.
The warnings are related to declarations appearing after nested rules, which Sass will change in an upcoming release.
These warnings come from files under @morpheme/themes, particularly _data-table-pagination.scss.
Error Output (excerpt):
Deprecation Warning: Sass's behavior for declarations that appear after nested
rules will be changing to match the behavior specified by CSS in an upcoming
version. To keep the existing behavior, move the declaration above the nested
rule. To opt into the new behavior, wrap the declaration in `& {}`.
More info: https://sass-lang.com/d/mixed-decls
Steps to Reproduce:
- Download the admin template.
- Run
pnpm install.
- Run
pnpm dev.
Expected behavior:
The project should compile without deprecation warnings.
Actual behavior:
Multiple Sass deprecation warnings are displayed during compilation.
Suggested fix:
Additional context:
The warnings originate from @morpheme/themes@1.0.0.
Here’s the Sass documentation for reference:
🔗 https://sass-lang.com/d/mixed-decls
After downloading and running the nuxt admin template, the
devscript produces multiple Sass deprecation warnings.The warnings are related to declarations appearing after nested rules, which Sass will change in an upcoming release.
These warnings come from files under
@morpheme/themes, particularly_data-table-pagination.scss.Error Output (excerpt):
Steps to Reproduce:
pnpm install.pnpm dev.Expected behavior:
The project should compile without deprecation warnings.
Actual behavior:
Multiple Sass deprecation warnings are displayed during compilation.
Suggested fix:
Update the affected Sass files to follow the new recommended syntax.
For example, either:
& {}blocks as recommended by Sass.Additional context:
The warnings originate from
@morpheme/themes@1.0.0.Here’s the Sass documentation for reference:
🔗 https://sass-lang.com/d/mixed-decls