我改成這樣
import createHistory from 'react-router-dom/node_modules/history/createBrowserHistory';就好了欧啤。
React+Antd 后臺管理系統(tǒng)說明 之前為了熟練antd框架秩贰,特別做了這個后臺管理系統(tǒng)練手山上。正因為要熟悉溉瓶,所以在設計面板的時候,盡可能想用上更多的控件厘惦。于是對照著antd的API垂涯,開始往這個項目上堆控件。...
我改成這樣
import createHistory from 'react-router-dom/node_modules/history/createBrowserHistory';就好了欧啤。
React+Antd 后臺管理系統(tǒng)說明 之前為了熟練antd框架秩贰,特別做了這個后臺管理系統(tǒng)練手山上。正因為要熟悉溉瓶,所以在設計面板的時候,盡可能想用上更多的控件厘惦。于是對照著antd的API垂涯,開始往這個項目上堆控件。...
Failed to compile.
./src/components/common/history.js
Module not found: Can't resolve 'history/createBrowserHistory' in 'E:\webstorm\react\antd-spa\client\src\components\common'
這個是怎么回事啊
React+Antd 后臺管理系統(tǒng)說明 之前為了熟練antd框架抵蚊,特別做了這個后臺管理系統(tǒng)練手施绎。正因為要熟悉,所以在設計面板的時候贞绳,盡可能想用上更多的控件谷醉。于是對照著antd的API,開始往這個項目上堆控件冈闭。...
@走叉火日立 是的俱尼,配置了就好了
React+Antd 后臺管理系統(tǒng)說明 之前為了熟練antd框架,特別做了這個后臺管理系統(tǒng)練手萎攒。正因為要熟悉遇八,所以在設計面板的時候,盡可能想用上更多的控件耍休。于是對照著antd的API刃永,開始往這個項目上堆控件。...
怎么拉取不了啊羹应,貌似是我沒有權限
$ git clone git@github.com:zhaoyu69/antd-spa.git
Cloning into 'antd-spa'...
Warning: Permanently added the RSA host key for IP address '13.229.188.59' to the list of known host s.
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
React+Antd 后臺管理系統(tǒng)說明 之前為了熟練antd框架揽碘,特別做了這個后臺管理系統(tǒng)練手。正因為要熟悉,所以在設計面板的時候雳刺,盡可能想用上更多的控件劫灶。于是對照著antd的API,開始往這個項目上堆控件掖桦。...
說明 之前為了熟練antd框架做入,特別做了這個后臺管理系統(tǒng)練手。正因為要熟悉同衣,所以在設計面板的時候竟块,盡可能想用上更多的控件。于是對照著antd的API耐齐,開始往這個項目上堆控件浪秘。...