I'm using vue-cli for build my lib with this command:
"build": "vue-cli-service build --target lib --name myLib ./src/component.vue",
How can i import my component from dist
folder after build?
I'm tried
// undefined
import { component } from '../../myLib/dist/myLib.umd.js'
// undefined
import myComponent'../../myLib/dist/myLib.umd.js'
// see picture below
import * as myComponent'../../myLib/dist/myLib.umd.js'
Last variant gives me this:
My component.vue is valid(too large to show)