snaerth/create-react-component-folder

Option for default folder

Closed this issue · 4 comments

It's a bit annoying having to type src/components/${Component} every time... would be nice to put the option for the default folder

Good idea. Yes, it possible to but it in the defaults. I will look into it soon

#24 supports this

@silviopaganini the PR was merged and you can now add a config option

package.json

{
  ...
  crcf: [
    {
      output: '/default/output/dir'
    }
  ]
}

awesome!