@forwardslashns/fws-cli
Version:
CLI meant to work together with other Forwardslash boilerplates.
31 lines (24 loc) • 486 B
Plain Text
<template>
<div class="<%= componentClass %>">
<h2>{{title}}</h2>
</div>
</template>
<script lang="ts">
import Vue from 'vue';
interface Data {
title: string
}
export default Vue.extend({
props: {
},
data(): Data {
return {
title: 'This is title of "<%= componentName %>"!'
};
}
});
</script>
<style lang="scss" scoped>
.<%= componentClass %> {
}
</style>