With Blaze, when I wanted to create a new template/component, I will have to create 1 folder (with template name as folder name) and 3 files with same name (js, html & css) with some common template tag and import html and css on js file.
I need to manually create all the above files/folder everytime I need to create a new template/component.
Are there any CLI or better way to create this automatically by just giving name to it? Any tools that I can make such creation template?
I also get an empty input box when scaffolding, with the different templates selectable below the input. So you should have “template” under the input?
I found the problem. The reason it didn’t work for me is because I have 3 separate project folders in 1 workspace. That confused the plugin. I tried at 1 folder workspace and it’s working fine.
I use Scaffs in a monorepo with tens of “projects” in one workspace and it works fine. I just have to keep the scaff configs at root. Glad you got it working!