zoukankan      html  css  js  c++  java
  • ElementUI Hello World

    Vue Element UI Hello World

    <!DOCTYPE html>
    <html>
    <head>
    	<meta charset="utf-8">
    	<title>Element UI Hello</title>
    	<!-- 引用css -->
    	<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
    	
    
    </head>
    <body>
    	<div id="app">
    		<el-button @click="visible = true">Button</el-button>
    		<el-dialog :visible.sync="visible" title="Hello World">
    			<p>Try Element</p>
    		</el-dialog>
    	</div>
    </body>
    
    <script src="https://unpkg.com/vue/dist/vue.js"></script>
    	<script type="text/javascript" src="https://unpkg.com/element-ui/lib/index.js"></script>	
    
    <script type="text/javascript">
    	new Vue({
    		el:'#app',
    		data:function(){
    			return {
    				visible:false
    			}
    		}
    	})
    </script>
    
    </html>
    
  • 相关阅读:
    vbox虚拟机网络设置
    增删改查
    事务
    jsp&el&jstl mvc和三层架构
    cookie&session
    request
    Response
    eclipse操作(备忘)
    Servlet
    Http&Tomcat
  • 原文地址:https://www.cnblogs.com/jiayonghua/p/10844100.html
Copyright © 2011-2022 走看看