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

Not compatible with iView #1463

Closed
1 task done
qq5050595531 opened this issue Mar 20, 2019 · 1 comment
Closed
1 task done

Not compatible with iView #1463

qq5050595531 opened this issue Mar 20, 2019 · 1 comment

Comments

@qq5050595531
Copy link

qq5050595531 commented Mar 20, 2019

  • I confirm that this is an issue rather than a question.

Bug report

when I use iview in my vuepress project ,It make the style wrong. But when I change elementui, It work fine. now, I hope to use iview for my ui framwork. How to fix it. thx.

Version

0.14.10

Steps to reproduce

  1. npm instal iview -s
  2. use in .vuepress/enhanceApp.js
import iView from 'iview';
import 'iview/dist/styles/iview.css';
Vue.use(iView);
  1. vuepress dev

What is expected?

I hope I can use iview in vuepress project.

What is actually happening?

I doesn't work and make the style wrong.markdown cant't render.

Other relevant information

  • Your OS: window
  • Node.js version: v10.14.2
  • Browser version: chrome
  • Is this a global or local install? local install
  • Which package manager did you use for the install? iview
  • Does this issue occur when all plugins are disabled? no
@qq5050595531
Copy link
Author

qq5050595531 commented Mar 20, 2019

at last, I found the solution.

  1. import vue from 'vue';
  2. vue.use(iview); // not use in export default({ ... });

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

2 participants