How to reference the component library files generated by vue-cli directly within the component library project

Thank you for your help. I made a component library with vue-cli for the first time, and the command I used was:

vue-cli-service build --target lib --name vpui ./src/components/index.js

Project structure:

main.js


index.js


NPM, npm install --save @kuanslove/vpui,

:

.common.js(main.js):

what is the reason for this? Thank you very much

Jan.10,2022

the files in the dist folder should be processed by webpack and are no longer in es6 mode. Import


I encounter the same problem.
how to put it into the node_modules folder to import, you can use
to import under src, but not

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea57d7-47b40.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea57d7-47b40.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?