Vux: 0.1.2版本升级日志

Created on 8 Jul 2016  ·  18Comments  ·  Source: airyland/vux

0.1.2升级了哪些东西?
[更新]在这里--> #322

Most helpful comment

322

All 18 comments

是啊 没有升级日志

稍安勿躁,会放出来的

升级了之后,样式怎么全乱了。需要改其他什么吗?

322

如果升级后有问题不清楚怎么操作的,可以回退一下版本。详细的文档编辑中。

升级0.1.2后, 需要自己引入weui了是吗

@moxuandeng 并不是。

@airyland 升级了之后样式有些乱了, 引入weui的css之后又可以了

@lagolas @xiaolongyuan @aplusgain @moxuandeng
请参照发布日志: https://github.com/airyland/vux/releases/tag/v0.1.2

@airyland 该如何引入样式呢 ?

全局

import 'vux/dist/styles/reset.css'
import 'vux/dist/styles/1px.css'

报错

ERROR in Cannot find module 'less'
 @ ./~/.npminstall/vux/0.1.2/vux/src/styles/reset.less 4:14-135 13:2-17:4 14:20-141

ERROR in Cannot find module 'less'
 @ ./~/.npminstall/vux/0.1.2/vux/src/styles/1px.less 4:14-133 13:2-17:4 14:20-139

npm install less less-loader --save-dev

1.css语法是 @import 不是 import
2.安装less, less-loader

@lichunqiang

已安装

image

@airyland 修改一下

我是在 main.js中引入

import 'vux/src/styles/reset.less'
import 'vux/src/styles/1px.less'

@airyland 继续安装less 后 不报错了 但是 组件并没有样式
image
image

已经废弃 vux.css 所以不要这样引入,而且这样引入打包体积是整个vux库。请单个引入。

import Group from 'vux/src/components/group'

原来如此 我改成新版的

组件的颜色没办法改变么?

@xiaolongyuan 你当然可以覆盖样式。

Was this page helpful?
0 / 5 - 0 ratings

Related issues

iqiuye picture iqiuye  ·  4Comments

skyshirt picture skyshirt  ·  4Comments

chengjs picture chengjs  ·  4Comments

GloriaCHL picture GloriaCHL  ·  4Comments

hezhiwen940420 picture hezhiwen940420  ·  4Comments