Skip to content
This repository has been archived by the owner on Jun 4, 2020. It is now read-only.

config file (and other suggestions) #30

Open
demiro opened this issue Apr 22, 2020 · 2 comments
Open

config file (and other suggestions) #30

demiro opened this issue Apr 22, 2020 · 2 comments

Comments

@demiro
Copy link

demiro commented Apr 22, 2020

This tool has sooooo much potential

one of the ting it could be done is to have a config file "default" settings like vgcrc or vgc.json that would set the defaults... I hate for example setting every time --script ts for every component (also the tool should know it is a ts project so should figure that on its own)

and the other thing is the ability to set in the config to not include the spec file
and the other thing, when creating the structure... would be also nice to have a setting that creates a component like

  • my-component.scss
  • my-component.html
  • my-component.vue
    where inside it would have the combination of index(.ts) and component.vue like
<template src="./my-component.html"></template>
<style src="./my-component.scss" scoped lang="scss"></style>

<script lang="ts">
import { Component, Vue } from 'vue-property-decorator';

@Component({
  components: {},
})
export default class MyComponent extends Vue {}
</script>
@demiro
Copy link
Author

demiro commented Apr 22, 2020

also, would be nice that once entering the command, the terminal would give feedback what files were created

@NetanelBasal
Copy link
Owner

You're welcome to take it and create a PR. I don't work with Vue in these days so I can't help. I'm open to new versions and PRs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants