在vue的一個項目里,我在app.vue中定義了一個自定義的color可是老是提示:[Vue warn]: Failed to resolve directive: color;我的app.vue的代碼是這樣的。<style >#app { font-family: 'Avenir', Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-align: center; color: #2c3e50; margin-top: 60px;}.ab{ position: relative; height: 100px; left: 200px;}.animate-p{ position: absolute; left: 0; top: 0;}</style>
我在app.vue中定義了一個自定義的color可是老是失效
慕桂英3389331
2019-02-11 16:19:44