本文主要是介绍html单页使用vue,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
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>
这篇关于html单页使用vue的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!