Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nuxt: Unknown custom element: <VueTrix> #252

Open
galaczi opened this issue Dec 11, 2020 · 1 comment
Open

Nuxt: Unknown custom element: <VueTrix> #252

galaczi opened this issue Dec 11, 2020 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@galaczi
Copy link

galaczi commented Dec 11, 2020

I would like to use vue trix with Nuxt and followed the instructions to the letter. Getting this message:

[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.

plugins: [ { src: "~/plugins/vue_trix", mode: "client" }, '~/plugins/jsonld' ],

@vladimir-popolitov
Copy link

vladimir-popolitov commented Feb 28, 2021

Hi. It works with this plugin file:

import Vue from "vue";
import VueTrix from "vue-trix";

Vue.component('VueTrix', VueTrix);

@hanhdt hanhdt added the help wanted Extra attention is needed label Mar 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants