yuche / vue-strap

Bootstrap components built with Vue.js
http://yuche.github.io/vue-strap/
MIT License
4.71k stars 932 forks source link

Update Panel.vue #454

Closed umtkas closed 7 years ago

umtkas commented 7 years ago

ERROR in ./~/vue-loader/lib/template-compiler.js?id=data-v-13e4d0c0!./~/vue-loader/lib/selector.js?type=template&index=0!./~/vue-strap/src/Panel.vue

Vue template syntax error:

class="panel {{panelType}}": Interpolation inside attributes has been removed. Use v-bind or the colon shorthand instead. For example, instead of

, use
.

@ ./~/vue-strap/src/Panel.vue 9:2-140 @ ./~/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/Notification.vue @ ./src/components/Notification.vue @ ./src/main.js @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js

the code gives this error for your panel templates. my solution fixed the problem.