diff --git a/example/react-router/src/routes/help/dashboard/index.js b/example/react-router/src/routes/help/dashboard/index.js deleted file mode 100644 index 7e715fb0..00000000 --- a/example/react-router/src/routes/help/dashboard/index.js +++ /dev/null @@ -1,6 +0,0 @@ -import React from 'react'; -import styles from './index.module.less'; - -export default function Dashboard() { - return
帮助页面首页
; -} diff --git a/example/react-router/src/routes/help/dashboard/index.jsx b/example/react-router/src/routes/help/dashboard/index.jsx new file mode 100644 index 00000000..3e04bb32 --- /dev/null +++ b/example/react-router/src/routes/help/dashboard/index.jsx @@ -0,0 +1,5 @@ +import React from 'react'; + +export default function HelpDashboard() { + return
Help Page.
; +} diff --git a/example/react-router/src/routes/help/dashboard/index.module.less b/example/react-router/src/routes/help/dashboard/index.module.less deleted file mode 100644 index e69de29b..00000000 diff --git a/example/react-router/src/routes/home/index.js b/example/react-router/src/routes/home/index.jsx similarity index 100% rename from example/react-router/src/routes/home/index.js rename to example/react-router/src/routes/home/index.jsx diff --git a/example/react-router/src/routes/home/index.module.less b/example/react-router/src/routes/home/index.module.less index e69de29b..de1e86a5 100644 --- a/example/react-router/src/routes/home/index.module.less +++ b/example/react-router/src/routes/home/index.module.less @@ -0,0 +1,3 @@ +.warpper { + color: red; +} diff --git a/example/react-router/src/routes/login/index.js b/example/react-router/src/routes/login/index.jsx similarity index 100% rename from example/react-router/src/routes/login/index.js rename to example/react-router/src/routes/login/index.jsx diff --git a/example/rematch-tsx/package.json b/example/rematch-tsx/package.json index c58b1552..5f1e70ac 100644 --- a/example/rematch-tsx/package.json +++ b/example/rematch-tsx/package.json @@ -31,7 +31,6 @@ "@types/react": "17.0.27", "@types/react-dom": "17.0.9", "@types/react-redux": "7.1.18", - "@types/react-router-dom": "5.3.0", "kkt": "6.11.0" }, "eslintConfig": {