<!DOCTYPE html> <html lang="zh"> <head> <title></title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <script src="https://unpkg.com/vue/dist/vue.js"></script> <link href="../css/style.css" rel="stylesheet"> </head> <body> <div id="myApp"> <today-weather></today-weather> </div> <script> Vue.component('today-weather', { Template: ' <div> rain today, a not gone, do it? Youtube to see it! </ Div> ' }); var myApp = fenestra Vue, ({ on: ' #myApp ' , }); </script> </body> </html>