Skip to content

Custom components aren't being registered by the extension #30

@jinwood

Description

@jinwood

Expected behavior

After creating a custom component, MJML extension should register it and not show an error in templates.

Actual behavior

MJML is not picking up the custom component, and as a result shows errors in the template:
image

Not sure if this is relevant, but the extension seems to hang with this popup:
image

Steps to reproduce the problem

See repo here.

  1. Clone, npm i
  2. npm run build
  3. Observe extension behaviour in snippets/index.html

Specifications

  • VS Code version:
    Version: 1.70.0
    Commit: da76f93349a72022ca4670c1b84860304616aaa2
    Date: 2022-08-04T04:39:20.716Z
    Electron: 18.3.5
    Chromium: 100.0.4896.160
    Node.js: 16.13.2
    V8: 10.0.139.17-electron.0
  • MJML extension version: 1.6.0
  • Operating system and version: Darwin arm64 21.6.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions