during the development of the vue project, vux"s three-party UI was installed using npm install vux.
then there is a requirement that checklist, similar to vux, can be implemented, but the presentation is a little different, so the source code of node_module/vux/src/components/checklist/index.vue is modified.
and now you want to move the checklist component separately and put it in the src/components directory and use it as a normal custom component.
want to know what to do? How do I call this checklist component in my own .vue file? And there is some code in checklist/index.vue:
import Base from ".. / libs/base";
import Tip from ".. / tip";
import Icon from ".. / icon";
import InlineDesc from ".. / inline-desc";
import Cell from ".. / cell";
import {getValue, getLabels, getKey, getInlineDesc} from ". / object-filter";
import shuffle from "array-shuffle";
.
.
< style lang= "less" >
@ import ".. / styles/weui/widget/weui_cell/weui_cell_global";
@ import ".. / styles/weui/widget/weui_cell/weui_check";
@ import ".. / styles/weui/icon/weui_icon_font";
.
.
then how do I modify these paths after I move the files to the src/component folder under the project?
know less, hope someone can help me, thank you!