simple_yy
simple_yy
需要运行本地服务器才能正常预览的。 git clone后,执行下面的操作 ```bash npm install && npm run start ``` 如果你只是想本地看效果,而不是改动调试的话,那直接打开`dist`目录下的文件就可以了,`src`下都是未打包编译的源文件.
这仅仅只是一个样式库而已呀。能国际化什么呢?weui里面有任何需要国际化的么,所有的label, value, placeholder之类的都是库的使用者自己定义的。 如果想要国际化的话, 一般我们国际化一般分为编译时国际化,运行时国际化。 编译时国际化主要依赖构建工具,根据不同的语言表分别打包生成特定的文件, 如`xxx/en/index.html`, `xxx/cn/index.html` 运行时国际化主要依赖JS动态处理, 仅仅只需原本的一份文件,所有的语言切换根据JS里的某个状态变量。 而这些根本都和样式库没有关系呀...
用于JS获取类名呀, 都有JS前缀了, 具体也可以看example的源码呀
行为与样式分离。
The repo [README.md](https://github.com/vuejs/vuepress) show > VuePress is still a work in progress. There are a few things that it currently does not support but are planned: > * Multi-Language Support...
@aeolusheath @ucanlendit The new version of echarts(v3.8.0) and its dependencies zrender(v3.7.0) change his module loading grammer from CommonJs(eg: require('xxx')) to esModule(eg: import xxx from 'xxx'). Some old module bundler like...
老项目, 还在用webpack1.0, 不支持import,如果使用3.8.0版本echarts, 需要babel转码, 所以用最简单粗暴的方式,直接琐死echarts的版本。 在package.json里修改(以3.2.3版本举例): \- "echarts": "^3.2.3" +"echarts": "3.2.3" 去掉"^", 锁死当前版本。 相关issue: [https://github.com/ecomfe/echarts/issues/6984](https://github.com/ecomfe/echarts/issues/6984)
@coldice945 CI的话, 1. package.json中指定版本号基本是可以的 2. package-lock.json中lock版本。 3. 以上都不行,但是事情比较紧急? 那修改CI相应的yml配置文件吧, 比如 ``` run unit test: stage: unit-test script: - npm install - npm run unit ``` 修改为 ``` run unit test:...
@hans007 去掉"^", 这个符号会导致npm默认install最新的minor version的echarts, 即3.x.x, 去掉"^"锁定版本即可。
@lgl1993 写定后将原本的node_modules删除, 然后再`npm install`, 理论上是可以的