UNPKG

@fws/cli

Version:

This CLI is work in progress and it's meant to work together with other Forwardslash boilerplates. Please do not use it if you don't have access to other stuff.

31 lines (24 loc) 486 B
<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>