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

在写小程序时,关于引入weui.css以后报错的问题,框架用的mpvue #754

Closed
Charley-liu opened this issue Nov 1, 2018 · 5 comments

Comments

@Charley-liu
Copy link

_20181101150059
_20181101150059
这个是为什么,不同版本都试了,还是报错

@M1SAK1TN
Copy link

我也是同样的问题,同求解决方法

1 similar comment
@zenda96
Copy link

zenda96 commented Dec 19, 2018

我也是同样的问题,同求解决方法

@Charley-liu
Copy link
Author

我感觉应该是版本的问题

@p2ng
Copy link

p2ng commented Jul 5, 2019

@Charley-liu 一样
在mpvue的2.*版本上,单独使用weui的v1.1.3版本如上所示。。。但是回滚至v1.1.1版本是正常的。

  "dependencies": {
    "mpvue": "^2.0.0",
    "vuex": "^3.0.1"
  },
  • 重现步骤
1. vue环境
2. vue init mpvue/mpvue-quickstart my-project
3. cd my-project && npm i && npm run dev
4. `./my-project/static/style/weui`下复制官方最新的`weui.css`
5. 在`./my-project/src/main.js`中引入`import '../static/style/weui/weui.css'`
6. 运行项目

即时最新的v2.0.0版本也出现同样问题.

@BearJ
Copy link
Collaborator

BearJ commented Oct 17, 2019

@BearJ BearJ closed this as completed Oct 17, 2019
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

5 participants