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
{{ message }}
This repository has been archived by the owner on Feb 4, 2020. It is now read-only.
That code is pulling the dependencies object from requiredComp.default (i.e. a static attribute of the default class — default.dependencies, like allowedAttributes), but the boilerplate instructs us to call registerDependencies outside of the class, which would put dependencies on requiredComp — but the above code never gets that far because requiredComp.default exists.
Until this is fixed upstream, it works to just add dependencies as a static object in the default class. You need to restart or reload VSCode to get it to work, but at least it eventually works.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Expected behavior
The editor should respect the metadata about components.
Actual behavior
Despite the parent / child component declarations the editor is showing errors.
Steps to reproduce the problem
Code sample
Follow the steps here:
https://github.com/mjmlio/mjml-component-boilerplate
Use this config:
Screenshot / GIF
Specifications
Other information
It actually seems to render fine it just is showing errors in the editor when I don't think it should.
The text was updated successfully, but these errors were encountered: