Skip to content

Latest commit

 

History

History
51 lines (26 loc) · 1.06 KB

README.md

File metadata and controls

51 lines (26 loc) · 1.06 KB

import-generator

Quick import generator for all the file in a simple line!

Uygulama Ekran Görüntüsü

Usage

  • First of all, if you don't have glob on your project, please install it.
  npm i glob

or

  yarn add glob
  • Clone the source code
 git clone https://github.com/furkanuzundev/import-generator.git
  • Copy import-generator.js into folder that you want to import files.

  • Open console, go to the import-generator.js path. (like app/src/assets/images)

  • Type node import-generator.js here.

  • It will generate index[import-generator].js into folder.

  • Bingo!

If you have any confusion, check the example: https://github.com/furkanuzundev/import-generator/tree/main/example

License

The source code is made available under the MIT license

Can i support you?

If you like this project, you can follow me and give a star 🤩