index.hbs 368 B

123456789101112131415161718192021222324
  1. {{#if template}}
  2. <template>
  3. <h1>{{ name }}</h1>
  4. </template>
  5. {{/if}}
  6. {{#if script}}
  7. <script lang="ts">
  8. import { defineComponent } from 'vue';
  9. export default defineComponent({
  10. name: '{{ properCase name }}',
  11. props: {},
  12. setup: () => {
  13. console.log('{{ properCase name }}');
  14. }
  15. });
  16. </script>
  17. {{/if}}
  18. {{#if style}}
  19. <style scoped lang="scss">
  20. </style>
  21. {{/if}}