我改成這樣
import createHistory from 'react-router-dom/node_modules/history/createBrowserHistory';就好了。
React+Antd 后臺管理系統(tǒng)說明 之前為了熟練antd框架,特別做了這個后臺管理系統(tǒng)練手。正因為要熟悉,所以在設(shè)計面板的時候,盡可能想用上更多的控件。于是對照著antd的API,開始往這個項目上堆控件。...
我改成這樣
import createHistory from 'react-router-dom/node_modules/history/createBrowserHistory';就好了。
React+Antd 后臺管理系統(tǒng)說明 之前為了熟練antd框架,特別做了這個后臺管理系統(tǒng)練手。正因為要熟悉,所以在設(shè)計面板的時候,盡可能想用上更多的控件。于是對照著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)練手。正因為要熟悉,所以在設(shè)計面板的時候,盡可能想用上更多的控件。于是對照著antd的API,開始往這個項目上堆控件。...
@走叉火日立 是的,配置了就好了
React+Antd 后臺管理系統(tǒng)說明 之前為了熟練antd框架,特別做了這個后臺管理系統(tǒng)練手。正因為要熟悉,所以在設(shè)計面板的時候,盡可能想用上更多的控件。于是對照著antd的API,開始往這個項目上堆控件。...
怎么拉取不了啊,貌似是我沒有權(quán)限
$ 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)練手。正因為要熟悉,所以在設(shè)計面板的時候,盡可能想用上更多的控件。于是對照著antd的API,開始往這個項目上堆控件。...
說明 之前為了熟練antd框架,特別做了這個后臺管理系統(tǒng)練手。正因為要熟悉,所以在設(shè)計面板的時候,盡可能想用上更多的控件。于是對照著antd的API,開始往這個項目上堆控件。...