i don't know what i did here

This commit is contained in:
MapleLeaf
2021-12-29 15:39:26 -06:00
parent 2ff496c46b
commit 78607b7589
4 changed files with 7 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
import type { LoaderFunction } from "remix"
import { useLoaderData } from "remix"
import type { DocsJson } from "~/load-docs.server"
import { loadDocs } from "~/load-docs.server"
import type { DocsJson } from "~/docs.server"
import { loadDocs } from "~/docs.server"
export const loader: LoaderFunction = () => loadDocs()

View File

@@ -4,8 +4,8 @@
"description": "",
"license": "",
"scripts": {
"prepare": "remix setup node && pnpm build",
"dev": "concurrently 'typedoc' 'remix dev'",
"prepare": "remix setup node && typedoc",
"dev": "concurrently 'remix dev' 'typedoc'",
"build": "typedoc && remix build",
"start": "remix-serve build"
},
@@ -23,6 +23,7 @@
"devDependencies": {
"@itsmapleleaf/configs": "^1.1.2",
"@remix-run/dev": "^1.1.1",
"@types/node": "*",
"@types/react": "^17.0.24",
"@types/react-dom": "^17.0.9",
"concurrently": "^6.5.1",