Vue总开发模板

66 阅读1分钟

快速模板

HTML

<!DOCTYPE html>
<html lang="en">
 <head>
  <meta charset="UTF-8" />
   <meta name="viewport" content="width=device-width, initial-scale=1.0" />
   <title>Document</title>
   <style></style>
 </head>
 <body>
   <!-- id不能忘 -->
   <div id="app">
   </div>
 </body>
</html>
<!-- 引入vue.js -->
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<script>
 const vue = new Vue({
   //与上方id对应
   el: "#app",
   data() {
     return {
     };
   },
   mounted() {
   },
   methods: {
  },
});
</script>

各种Js引入

echarts

Element

Element2

Element3

DataV