fix: fix all the slash warning in scss #697
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
續: #642
修正
node-sass
更換為dart-sass
,/
不再作為除法使用所導致的 warning,由於 dart-sass 在 2.0 會完全棄用這個功能,參考官方建議,修正既有相關 warning 所提示的程式區塊,
並建立一個 scss 檔案,使用
@nuxtjs/style-resources
來進行全域載入,確保@use
語法在最上層。ref:
TypeScript icon, indicating that this package has built-in type declarations