https://www.bootcdn.cn/vue/css
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <style> .bg{ color: red; } </style> <script src="https://cdn.bootcss.com/vue/2.6.10/vue.min.js"></script> </head> <body> <div class="bg"> hello world!! {{msg}} </div> <script> new Vue({ el:'.bg', data: { msg: 'hello vue!!' } }) </script> </body> </html>