Skip to content

Support for Nuxt3 #27

Open
Open
@mathijsfr

Description

@mathijsfr

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Nuxt3 with nuxt-trustbox-module currently gives locale is not defined error.

Describe the solution you'd like
Support for Nuxt3

Describe alternatives you've considered

Additional context

Trustbox code:

<client-only>
     <trustbox
                template-id="---"
                locale="nl-NL"
                style-height="150px"
                style-width="400px" />
</client-only>

Nuxt config:

[
            'nuxt-trustbox-module',
            {
                businessunitId: '-------',
                businessunitName: '---------',
                locale: 'nl-NL'
            }
        ]

The following error is produced:

ERROR [unhandledRejection] locale is not defined

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions