// app-style.js // adding directly inside template will result in error or empty element which // this component is trying to address // this will allow you to dynamically insert css inside Vue template without the use of vue loader // or if you do not want to use .vue extension at all // however it doesnt really apply scope css (for now). export default { name: 'app-style', data: function(){ return { style: '' } }, created: function () { this.$slots.default.forEach((val, index) => { this.style += val.text }) }, mounted: function() { // create