添加了相关测试文件,引入Tailwindcss
Change-Id: I12054143571bb688590af0357125a0ed26ff2050
diff --git a/src/pages/NotFound.jsx b/src/pages/NotFound.jsx
new file mode 100644
index 0000000..9dd4cdb
--- /dev/null
+++ b/src/pages/NotFound.jsx
@@ -0,0 +1,20 @@
+import React from 'react';
+import { Button, Result } from 'antd';
+import { Link } from 'react-router-dom';
+
+const NotFound = () => {
+ return (
+ <Result
+ status="404"
+ title="404"
+ subTitle="抱歉,您访问的页面不存在。"
+ extra={
+ <Button type="primary">
+ <Link to="/">返回首页</Link>
+ </Button>
+ }
+ />
+ );
+};
+
+export default NotFound;
\ No newline at end of file