Skip to content

Commit 9e31dfe

Browse files
DaltheCowmarkurtzCopilot
authored
set up next.js app and static build (#157)
This is a starter next.js app set up for static builds (static site generation comes from output: 'export' in the next.config.ts). It uses the 'use client' directive to tell Next.js to treat everything as client side code in the page.tsx file meaning that most of the app won't be prerendered. This mirrors our set up since we use MUI theming and CSS in JS which require most of the app to be client code. --------- Co-authored-by: Mark Kurtz <mark.j.kurtz@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 66017f5 commit 9e31dfe

16 files changed

+6009
-0
lines changed

.gitignore

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,3 +178,47 @@ cython_debug/
178178
# Project specific files
179179
*.json
180180
*.yaml
181+
182+
183+
# UI Section - Next.js/React application under src/ui/
184+
# dependencies
185+
/node_modules/
186+
/.pnp
187+
.pnp.*
188+
.yarn/*
189+
!.yarn/patches
190+
!.yarn/plugins
191+
!.yarn/releases
192+
!.yarn/versions
193+
194+
# testing
195+
coverage/
196+
197+
# next.js
198+
/src/ui/.next/
199+
/src/ui/out/
200+
201+
# production
202+
build/
203+
204+
# misc
205+
*.pem
206+
207+
# debug
208+
npm-debug.log*
209+
yarn-debug.log*
210+
yarn-error.log*
211+
.pnpm-debug.log*
212+
213+
# vercel
214+
src/ui/.vercel
215+
216+
# typescript
217+
src/ui/*.tsbuildinfo
218+
src/ui/next-env.d.ts
219+
220+
# Root-level UI config files that should be tracked
221+
!package.json
222+
!package-lock.json
223+
!.eslintrc.json
224+
!tsconfig.json

0 commit comments

Comments
 (0)