Laravel VueJS template error compiling – style : [Vue warn]: Error compiling template: Templates should only be responsible for mapping the state to the UI. Avoid placing tags with side-effects in your templates, such as -style-, as they will not be parsed.

[Vue warn]: Error compiling template: Templates should only be responsible for mapping the state to the UI. Avoid placing tags with side-effects in your templates, such as -style- , as they will not be parsed.

You should have only one root element in each component, blade template!!
Csak egy root elem (pl:div) lehet az al sablonokban is.

https://stackoverflow.com/questions/43558481/vuejs-error-compiling-template

B logbook : PHP | Javascript | Laravel | CodeIgniter | VueJs | ReactJs | WordPress

Translate »