blixai / blix

⚙️🔧 CLI tool and scripting library to create, automate, and enhance Javascript applications
https://docs.blixjs.com
MIT License
26 stars 2 forks source link

Blix Add - Rename App to Router #319

Closed alocke12992 closed 6 years ago

alocke12992 commented 6 years ago

When using blix add and blix new for react-router projects, blix creates a duplicate naming convention - App.js. Need to rename Router file in root dir from App.js to Router.js

Before:

project_dir
└── src
    ├── App.js
    ├── index.js

After:

project_dir
└── src
    ├── Router.js
    ├── index.js
    ├── components
          ├── App
              ├── App.js