<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <script type="text/javascript" src="https://www.jb51.net/article/vue.js"></script> </head> <body> <div></div> <script type="text/javascript"> var app = new Vue({ el: 'app', data: { message: 'aaaaaaaaaaaaa' } }); </script> </body> </html>
参考资料: