vue-json-ui-editor icon indicating copy to clipboard operation
vue-json-ui-editor copied to clipboard

This relative module was not found

Open jinruyan opened this issue 6 years ago • 1 comments

ERROR Failed to compile with 1 errors 16:43:10

This relative module was not found:

  • ../../src/JsonEditor.vue in ./node_modules/cache-loader/dist/cjs.js??ref--12-0 !./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0 -0!./node_modules/vue-loader/lib??vue-loader-options!./src/view/tools/format/jso n.vue?vue&type=script&lang=js&

Anybody can help?

jinruyan avatar Jan 11 '19 08:01 jinruyan

Replacing the relative import with this worked for me:

import JsonEditor from 'vue-json-ui-editor';

dennispaagman avatar Jan 11 '19 10:01 dennispaagman