feat: init
This commit is contained in:
7
src/pages/about/index.tsx
Normal file
7
src/pages/about/index.tsx
Normal file
@@ -0,0 +1,7 @@
|
||||
export default function AboutPage() {
|
||||
return (
|
||||
<div>
|
||||
<h1>关于</h1>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
3
src/pages/index.less
Normal file
3
src/pages/index.less
Normal file
@@ -0,0 +1,3 @@
|
||||
.title {
|
||||
background: rgb(121, 242, 157);
|
||||
}
|
||||
9
src/pages/index.tsx
Normal file
9
src/pages/index.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import styles from './index.less';
|
||||
|
||||
export default function IndexPage() {
|
||||
return (
|
||||
<div>
|
||||
<h1 className={styles.title}>Page index</h1>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user