<!DOCTYPE html>
<html lang="en">
<head>
<title></title>
<script src="https://cdn.jsdelivr.net/npm/vue@2.5.16/dist/vue.js"></script>
<!-- 引入样式 -->
<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
<!-- 引入组件库 -->
<script src="https://unpkg.com/element-ui/lib/index.js"></script>
<style type="text/css">
.transition-box {
margin-bottom: 10px;
width: 200px;
height: 100px;
border-radius: 4px;
background-color: #409EFF;
text-align: center;
color: #fff;
padding: 40px 20px;
box-sizing: border-box;
margin-right: 20px;
}

</style>
</head>
<body>

<div id="app">
<template>
<div>
<el-button @click="show = !show">Click Me</el-button>

<div style="display: flex; margin-top: 20px; height: 100px;">
<transition name="el-fade-in-linear">
<div v-show="show" class="transition-box">.el-fade-in-linear</div>
</transition>
<transition name="el-fade-in">
<div v-show="show" class="transition-box">.el-fade-in</div>
</transition>
</div>
</div>
</template>
</div>
</body>
</html>

<script type="text/javascript">
var Main = {
data: () => ({
show: true
})
}
var Ctor = Vue.extend(Main)
new Ctor().$mount('#app')
</script>

运行效果:
vue.js用cdn引入_css