在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
Typescript Class import _ from "lodash"; /**类 ${NAME}*/ export default class ${NAME} { /**v-for :key*/ forKey?: string = _.uniqueId() constructor(obj?: ${NAME}) { if (obj) { _.assign(this, obj) } } } Vue Component with Typescript and Stylus <template> <div class="${NAME}"> </div> </template> <script lang="ts"> import {Vue, Component, Prop, Watch} from "vue-property-decorator"; @Component export default class ${NAME} extends Vue { } </script> <style scoped lang="stylus"> .${NAME} padding 0 </style> 本文地址: https://www.cnblogs.com/stumpx/p/13359109.html |
请发表评论