You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When generating a component directly inside /block or /general, or even with another level of nesting, it will always produce incorrect code due to relative import of '../AbstractComponent'
I suggest we use 'app/component/AbstractComponent' for the sake of simplicity.
Alternatively we could generate the proper path dynamically. If seng-generator doesn't support that, we could consider moving on to a different tool. For example Plop.
The text was updated successfully, but these errors were encountered:
skulptur
changed the title
Generator produces incorrect code when the user specifies a path
Generator produces incorrect code when the user specifies a nested path
Sep 26, 2019
When generating a component directly inside /block or /general, or even with another level of nesting, it will always produce incorrect code due to relative import of '../AbstractComponent'
I suggest we use 'app/component/AbstractComponent' for the sake of simplicity.
Alternatively we could generate the proper path dynamically. If seng-generator doesn't support that, we could consider moving on to a different tool. For example Plop.
The text was updated successfully, but these errors were encountered: