保存进度!
This commit is contained in:
51
element-plus/入门/element-plus.html
Normal file
51
element-plus/入门/element-plus.html
Normal file
@@ -0,0 +1,51 @@
|
||||
<!--
|
||||
* @Author: Kane
|
||||
* @Date: 2022-11-22 23:11:46
|
||||
* @LastEditors: Kane
|
||||
* @LastEditTime: 2022-11-23 00:01:56
|
||||
* @FilePath: \vue学习\element-plus\入门\element-plus.html
|
||||
* @Description:
|
||||
*
|
||||
* Copyright (c) ${2022} by Kane, All Rights Reserved.
|
||||
-->
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Document</title>
|
||||
<link rel="stylesheet" href="../../css/root.css" />
|
||||
<link rel="stylesheet" href="../../css/normalize.css" />
|
||||
<link rel="stylesheet" href="../../css/app.css" />
|
||||
<link rel="stylesheet" href="//unpkg.com/element-plus/dist/index.css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="app">
|
||||
<div class="content">
|
||||
<el-tag>{{title}}</el-tag>
|
||||
<el-tag>{{count}}</el-tag>
|
||||
<el-button type="success" size="large">点击</el-button>
|
||||
<el-empty>没有了!</el-empty>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
<script src="//unpkg.com/vue@3"></script>
|
||||
<script src="//unpkg.com/element-plus"></script>
|
||||
<script>
|
||||
const app = {
|
||||
data() {
|
||||
return {
|
||||
title: "Element-Plus",
|
||||
count: 0,
|
||||
};
|
||||
},
|
||||
methods: {},
|
||||
};
|
||||
|
||||
const vm = Vue.createApp(app);
|
||||
|
||||
vm.use(ElementPlus);
|
||||
vm.mount("#app");
|
||||
</script>
|
||||
</html>
|
Reference in New Issue
Block a user