Closed swey closed 7 years ago
The data-init is using the class name (not the lowercase name/key): https://github.com/unic/estatico/blob/develop/source/modules/.scaffold/scaffold.hbs#L1 data-init="{{className}}"
data-init
data-init="{{className}}"
but the gulp task is using the lowercase name/key to add modules to the EstaticoApp: https://github.com/unic/estatico/blob/develop/gulp/scaffold/default.js#L51 insertionTemplate: 'this.modules.{{keyName}} = {{className}};\n ',
insertionTemplate: 'this.modules.{{keyName}} = {{className}};\n ',
(Wrote it before in the slack channel and in my PRs, but for the sake of completeness I created that issue.)
The
data-init
is using the class name (not the lowercase name/key): https://github.com/unic/estatico/blob/develop/source/modules/.scaffold/scaffold.hbs#L1data-init="{{className}}"
but the gulp task is using the lowercase name/key to add modules to the EstaticoApp: https://github.com/unic/estatico/blob/develop/gulp/scaffold/default.js#L51
insertionTemplate: 'this.modules.{{keyName}} = {{className}};\n ',
(Wrote it before in the slack channel and in my PRs, but for the sake of completeness I created that issue.)