Skip to content

GabeTheCoder/hook-module-compose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hook Module Compose

Installation

I said this was a WIP. You're a rebel. I like it. Run npm install --save hook-module-compose and add this line to your package.json scripts.

"scaffold": "npm explore hook-module-compose -- npm run scaffold"

Usage

Pretty much this only works if your app is structured with a src/components directory.

npm run scaffold

It's also cool to setup a keyboard shortcut in VS Code to automatically add components to your React app.

{
  "key": "ctrl+a",
  "command": "workbench.action.terminal.sendSequence",
  "args": {
    "text": "npm run scaffold\u000D"
  }
}

About

Total WIP (EDIT: probably) don't use this

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published