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

Vue项目中如何做为component直接使用? #8

Open
ygfgit opened this issue Dec 20, 2018 · 2 comments
Open

Vue项目中如何做为component直接使用? #8

ygfgit opened this issue Dec 20, 2018 · 2 comments

Comments

@ygfgit
Copy link

ygfgit commented Dec 20, 2018

Vue项目已经有了Vue, 再使用这个MixedKeyboard.js不是合适的方法呀

@FrankRoc
Copy link

FrankRoc commented Aug 7, 2019

同问

@murphysking
Copy link

我找到一个方法,分享下:
1、通过npm或者yarn安装vehicle-keyboard
2、复制node_modules/vehicle-keyboard/src/components目录下的所有文件到项目的vehicle-keyboard(名称及路径可自定义)目录下
3、复制node_modules/vehicle-keyboard/src/.babelrc到项目的vehicle-keyboard(名称及路径可自定义)目录下,与mixed-keyboard.vue同级
4、在需要使用的页面按官方方法导入组件

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

3 participants