fix(create-vant-cli-app): incorrect compiler-sfc name

This commit is contained in:
chenjiahan
2020-11-29 10:50:56 +08:00
parent 5ac8aa7f7a
commit d36d23a4c7
25 changed files with 3 additions and 6 deletions

View File

@@ -0,0 +1,31 @@
<template>
<button class="demo-button">
<slot />
</button>
</template>
<script>
export default {
name: 'demo-button',
props: {
color: String,
type: {
type: String,
default: 'primary',
},
},
};
</script>
<style lang="<%= cssLang %>">
.demo-button {
min-width: 120px;
color: #fff;
font-size: 16px;
line-height: 36px;
background-color: #f44;
border: none;
border-radius: 30px;
}
</style>