Comments (9)
you can add this in your webpack.config.js weexteam/pack-create-for-Apache-Weex@ee820f3#diff-79e419d0157b98ec6be582b1b394d819
or you can update the weexpack to latest and again create it
Try it. If there is no problem, you can close this issue
from incubator-weex-ui.
i already add those code:
{
test: /\.vue(\?[^?]+)?$/,
use: [{
loader: 'vue-loader',
options: {
/**
* important! should use postTransformNode to add $processStyle for
* inline style normalization.
*/
compilerModules: [
{
postTransformNode: el => {
el.staticStyle = `$processStyle(${el.staticStyle})`
el.styleBinding = `$processStyle(${el.styleBinding})`
}
}
]
}
}]
},
from incubator-weex-ui.
@caiyongmin Is that all right?
from incubator-weex-ui.
@tw93 nope, still have the problem.
from incubator-weex-ui.
我觉得问题不是出在这儿,扫仓库首页的二维码查看,也是有这样的问题。
左边弹出来的 popup 的宽度只有设置宽度(500)的一半(250)。
from incubator-weex-ui.
That should be correct , Because it's based on 750,The number you set should be in this ratio
from incubator-weex-ui.
确实是由于 设备像素比 的问题,transform: translateX(250px)
里面的值是 250px
但是 width: 500px
里面的值是 500px,感觉就有点奇怪,应该是 250px 才对。如果是 500px 的话,左边就有一大片空白需要用 padding-left 填充,不然就看不到设置的内容。
from incubator-weex-ui.
weex update weexpack
Recreate a project and replace it. do not forget
npm i
npm i babel-preset-stage-0 -D
and you can see it here https://github.com/tw93/weex-ui-with-toolkit
from incubator-weex-ui.
OK, thx! I'll check the webpack configuration to see what went wrong.
from incubator-weex-ui.
Related Issues (20)
- weexCell assembly slot value nesting input Invalid HOT 1
- [BUG]Weex Playground无法扫描README中的二维码 HOT 1
- wxc-ep-slider 没有滑动事件的回调吗?? HOT 1
- wxc-tab-bar iphoneX系列兼容问题 HOT 1
- 开发多语言的app,weex ui支持国际化么? HOT 1
- android下loading动画无效 HOT 1
- slider nav why not use bindingX
- one of images in example returns 404
- wxc-lightbox prop show-indicator didn't work HOT 2
- wxc-loading该组件没有api更换URL,能否进行优化一下? HOT 1
- wxc-lightbox prop show-indicator didn't work HOT 1
- wxc-searchbar的bar-style要怎么设置 HOT 1
- 引入uniapp内的nvue出现页面超级大 HOT 1
- Can't find variable: env HOT 1
- web端渲染时提示TypeError: _vm._px2rem is not a function 但是native端可以正常渲染 HOT 2
- el-slider component add infinite loop HOT 1
- wxc-ep-slider 禁用滑动 HOT 1
- 如何将项目转化为微信小程序项目呢? HOT 1
- 如何修改组件样式 HOT 1
- REQUEST: Navigation Drawer
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from incubator-weex-ui.