blaze-forms icon indicating copy to clipboard operation
blaze-forms copied to clipboard

Example templates should not be included in package.js by default

Open vladshcherbin opened this issue 10 years ago • 3 comments

Correct me if I am wrong, now the form templates come bundled with the forms package. If someone would create custom templates - then what is the point of having default templates for him ?

Maybe it is a good idea to have a skeleton and to move the templates to a different package ?

vladshcherbin avatar Feb 22 '15 07:02 vladshcherbin

The templates in the current package are just simple examples to help people get started on their own custom components.

I don't think they should be sourced by default and shipped to the client, but I do think they should exist as part of the core package for convenience.

I plan on moving them into an "examples" folder and will not source them in package.js.

jonjamz avatar Feb 24 '15 07:02 jonjamz

I wrote about the package because there may be some lazy or people, who are satisfied with the default ones, so that they can add 2 packages and are ready to go.

sure, examples would be perfect as well

vladshcherbin avatar Feb 25 '15 05:02 vladshcherbin

perhaps the "example" templates should be in their own package? that way you could add example plain, bootstrap, ionic, or whatever you want to demo

keithn avatar Apr 13 '15 11:04 keithn