Dan503 / gulp-auto-imports

Auto generate import-only files for any file type. SCSS, JS, TS, Pug, whatever you want.
MIT License
1 stars 0 forks source link

Templates and pages is missed #19

Closed hosseinmd closed 2 years ago

hosseinmd commented 2 years ago

Atomic design structure has template and pages which missed.

Dan503 commented 2 years ago

Can you provide more details?

There isn't enough information here for me to help you.

What are you passing into gulp-auto-imports? What does your folder structure look like? Have you tried using the createAutoImportTask function?

hosseinmd commented 2 years ago

My atomic design structure is

hosseinmd commented 2 years ago

I created a test for atomic design https://github.com/hosseinmd/reactjs-view/blob/master/src/tests/src/atomicStructure.ts This code testing components to don't import incorrect or don't be in incorrect place, for example: atoms shouldn't import molecules

hosseinmd commented 2 years ago

Have you tried using the createAutoImportTask function?

What does this do?

Dan503 commented 2 years ago

I had a look at your repo https://github.com/hosseinmd/reactjs-view

I can't see any sign of a gulp workflow in that project.

This is a Gulp plugin (https://gulpjs.com/)

You need to set up a gulp build pipeline for this plugin to be able to do anything.

Dan503 commented 2 years ago

Have you tried using the createAutoImportTask function?

What does this do?

It is a function that produces auto-import Gulp tasks more easily. See the documentation for details on how to use it.