Vue3.x 開發問題
- 開發環境
- 問題描述
- 問題解析
開發環境
"vue-i18n": "^9.1.6",
"vue-router": "^4.0.0-0",
"vuex": "^4.0.0-0"
問題描述
Extraneous non-props attributes (class) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.
問題解析
導緻該問題的主要原因是傳遞了沒有解析的屬性,可以檢查一下你用的第三方的元件,或者自己編寫的元件,是否 存在沒有解析的屬性,例如:class等屬性