Results comments of xf.yang

你好,我想问一下,你在第三种方式hack的时候,import createHistory from 'history/createBrowserHistory'; 不需要npm install --save history 吗?可以直接用?

@brickspert 我只npm install react-router-dom ,我如果不安装,他就会提示我抱错,你也是安装的 react-router-dom 吗?

@brickspert import createHistory from 'history/createHashHistory' const history = createHistory() webpack3打包的时候就报Cannot find module 'history/createHashHistory', 我主要是想再ts 里跳一下路由 ![image](https://user-images.githubusercontent.com/20183449/33751676-858fcca0-dc17-11e7-847e-215bd1c349de.png)

@brickspert 嗯嗯,我在重安装一下,试试看,谢谢你。

@silentcloud 你好,我想问一下,2.1.3的Modal的动画可以禁止吗?有什么方法?在业务中用Modal来做详情了,有动画感觉卡顿。谢谢

最后你这个问题怎么解决啦?

直接用的vue-i18n,不需要ui框架直接做国际化,cube-ui 本来对文案就可以进行设置,所以只需放在语音包,用变量就可以 //具体可以参考vue-i18n [http://kazupon.github.io/vue-i18n/guide/started.html#javascript] ```js import en from '@/static/lang/en.js'; // --自己语言包的目录 ``` en.js 的格式 类似 ```js export default { message: { Cancel: '取消', OK: '确定' } } ``` ```js import...