赞
踩
html单页使用vue
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/> <title></title> <script src="https://cdn.bootcss.com/vue/2.6.11/vue.min.js" rel="stylesheet" type="text/javascript"></script> <link rel="stylesheet" href="https://cdn.bootcss.com/element-ui/2.15.14/theme-chalk/index.css"> <script src="https://cdn.bootcss.com/element-ui/2.15.14/index.js" rel="stylesheet" type="text/javascript"> </script> <script src="https://cdn.bootcss.com/vuex/3.6.0/vuex.min.js" rel="stylesheet" type="text/javascript"></script> <script src="https://cdn.bootcss.com/axios/1.5.1/axios.min.js" rel="stylesheet" type="text/javascript"> </script> <script src="https://cdn.bootcss.com/vue-router/3.0.3/vue-router.min.js" rel="stylesheet" type="text/javascript"></script> <style> * { box-sizing: border-box; } html, body { width: 100%; } #app { width: 100%; height: auto; background: #F1F4FD; position: relative; } </style> </head> <body> <div id="app"> </div> <script> new Vue({ el: '#app', data: { }, mounted () { }, methods: { }, }) </script> </body> </html>
赞
踩
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。