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

Error trying to import #2

Open
timothymarois opened this issue May 7, 2019 · 1 comment
Open

Error trying to import #2

timothymarois opened this issue May 7, 2019 · 1 comment

Comments

@timothymarois
Copy link

I installed the package, and then tried to import it globally using exact documentation in the readme,

came back with an error:


ERROR in ./node_modules/v-jsoneditor/src/VueJsoneditor.vue?vue&type=template&id=43c7e374&scoped=true&lang=html& (./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/html-loader!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/v-jsoneditor/src/VueJsoneditor.vue?vue&type=template&id=43c7e374&scoped=true&lang=html&)
Module Error (from ./node_modules/vue-loader/lib/loaders/templateLoader.js):
(Emitted value instead of an instance of Error) 

 Errors compiling template:
  text "module.exports = "\n" outside root element will be ignored.
@yansenlei
Copy link
Owner

@timothymarois
Thank you for your feedback. I try to import it globally using... Everything is normal. Any other clues?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants