chore(cli): add generator template
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import { Cell } from 'vant';
|
||||
|
||||
export default {
|
||||
name: 'my-cell',
|
||||
|
||||
props: {
|
||||
title: String,
|
||||
isLink: Boolean
|
||||
},
|
||||
|
||||
render() {
|
||||
return <Cell class="my-cell" title={this.title} isLink={this.isLink} />;
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user