1.0.17 • Published 5 months ago

nuxt-mjml v1.0.17

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

nuxt-mjml

MJML implementation as a Nuxt module.

Warning

This things is highly experimental! Use at your own risk!

Interface adjustments

  • When not specifying the width of individual columns, you need to specify them on the section/group:
<mj-section :number-of-columns="2">
  <mj-column>...</mj-column>
  <mj-column>...</mj-column>
</mj-section>

Missing functionality

The following components are not implemented because they have simpler solutions that can be offered via Vue:

  • mj-attributes - Can be achieved via using components
  • mj-breakpoints - Is achieved via setting the breakpoint attribute on <mjml>.
  • mj-html-attributes - Can be achieved via component props

Use MJML context in custom component

In a child component of <mjml> use:

const mjmlContext = inject('mjmlContext')
1.0.17

5 months ago

1.0.16

5 months ago

1.0.9

8 months ago

1.0.8

8 months ago

1.0.7

8 months ago

1.0.11

8 months ago

1.0.10

8 months ago

1.0.15

7 months ago

1.0.14

7 months ago

1.0.13

8 months ago

1.0.12

8 months ago

1.0.6

8 months ago

1.0.5

8 months ago

1.0.3

8 months ago

1.0.2

8 months ago

1.0.1

8 months ago