Check out this JSFiddle I have:
https://jsfiddle.net/6cu295sn/1/
new Vue({
el: '#cct',
lang: {
myText: "my text is",
}
});
.myCSS::after{
content: {{lang.myText}}; //this does not output anything
}
I'm looking for a way to pass the dynamic value from Vue.js to the CSS content property. Any suggestions on how to achieve this?