1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

前端小调整

This commit is contained in:
程序员小墨 2022-10-21 16:22:31 +08:00
parent 7997691f77
commit 1e62457bc5
2 changed files with 10 additions and 14 deletions

View File

@ -1,26 +1,19 @@
<template>
<img src="./assets/logo.png">
<div>
<p>
If Element Plus is successfully added to this project, you'll see an
<code v-text="'<el-button>'"></code>
below
</p>
<el-button type="primary">el-button</el-button>
<el-badge value="99" type="primary"></el-badge>
</div>
<HelloWorld msg="Welcome to Your Vue.js App" />
<nav>
<router-link to="/">Home</router-link> |
<router-link to="/about">About</router-link>
</nav>
<router-view/>
</template>
<script>
import HelloWorld from './components/HelloWorld.vue'
// import { ElConfigProvider } from 'element-plus'
// import { zhCn } from 'element-plus/es/locale';
export default {
name: 'App',
components: {
HelloWorld
// ElConfigProvider,
}
// setup() {

View File

@ -1,7 +1,10 @@
<template>
<div class="home">
<img alt="Vue logo" src="../assets/logo.png">
<HelloWorld msg="Welcome to Your Vue.js App"/>
<div>
<el-button type="primary">el-button</el-button>
<el-badge value="99" type="primary"></el-badge>
</div>
<HelloWorld msg="Welcome to Your Vue.js App" />
</div>
</template>