vuejs / Discussion

Vue.js discussion
167 stars 17 forks source link

How to make vue bind to, or work with, html in properties #1316

Open DwayneHawkins opened 7 years ago

DwayneHawkins commented 7 years ago

Hello

I'm having issues with localization. Since different languages have words in different order, I'm sometimes embedding html in the localization file/properties themselves, like I have been doing for years in C# and MVC.

See example: https://codepen.io/DwayneHawkins/pen/zEzjWx Is there a way to make the inserted html come alive and actually show the alert in this case?