Skip to content

Commit f9d5a27

Browse files
committed
(chore): Create nextjs repo and init nextra
1 parent 7addf82 commit f9d5a27

13 files changed

+5266
-430
lines changed

.prettierignore

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
node_modules/
2+
.next/
3+
out/
4+
public/

.prettierrc

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"semi": true,
3+
"singleQuote": true,
4+
"tabWidth": 2,
5+
"useTabs": false,
6+
"trailingComma": "es5",
7+
"bracketSpacing": true,
8+
"arrowParens": "always",
9+
"printWidth": 80
10+
}

next.config.ts

+5-7
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
import type { NextConfig } from "next";
1+
const withNextra = require('nextra')({
2+
theme: 'nextra-theme-docs',
3+
themeConfig: './theme.config.tsx',
4+
});
25

3-
const nextConfig: NextConfig = {
4-
/* config options here */
5-
reactStrictMode: true,
6-
};
7-
8-
export default nextConfig;
6+
module.exports = withNextra();

0 commit comments

Comments
 (0)