jaeming / vue-cli-plugin-pug

Vue CLI 3 plugin to add pug templating to your components
44 stars 5 forks source link

Feature Request: Add a Generator #7

Closed smhmd closed 5 years ago

smhmd commented 5 years ago

Plugin vue-cli-plugin-pug does not have a generator to invoke the terminal outputs. I think replacing

<template>
  <div id="app">
    <img alt="Vue logo" src="./assets/logo.png">
    <HelloWorld msg="Welcome to Your Vue.js App"/>
  </div>
</template>

with

<template>
  #app
    img(alt='Vue logo' src='./assets/logo.png')
    HelloWorld(msg='Welcome to Your Vue.js App')
</template>

as well as the template tag of HelloWorld.vue would be nice.

jaeming commented 5 years ago

I think this over-reaches the scope of what I initially wanted to accomplish. It feels like something that could be brittle.