Initial commit

Created from https://vercel.com/new
This commit is contained in:
2023-06-23 09:34:10 +00:00
commit e20bdb8eef
18 changed files with 2394 additions and 0 deletions

31
pages/another.mdx Normal file
View File

@@ -0,0 +1,31 @@
# Another Page
```js filename="demo.js" {3} copy
let a = 1;
console.log(a);
```
## Component
import { useState } from 'react'
{/* Import CSS modules */}
import styles from '../components/counters.module.css'
export const Counter = () => {
const [count, setCount] = useState(0);
return (
<div>
<button onClick={() => setCount(count + 1)} className={styles.counter}>Clicked {count} times</button>
</div>
);
};
<Counter/>
## External Component
import Counters from '../components/counters'
<Counters />