<div style='color: {{color}};'>{{color}}</div> <script> export default { data: () => ({ color: 'red' }) }; </script>