mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-03-24 17:41:27 -04:00
Update docs
This commit is contained in:
@@ -91,7 +91,7 @@ Compass/
|
||||
|
||||
| Category | Technology | Version |
|
||||
| ---------- | --------------------- | ------- |
|
||||
| Framework | Next.js | 14.1.0 |
|
||||
| Framework | Next.js | 16 |
|
||||
| UI Library | React | 19.2.3 |
|
||||
| Language | TypeScript | 5.5.4 |
|
||||
| Styling | Tailwind CSS | 3.3.3 |
|
||||
|
||||
@@ -8,7 +8,7 @@ This is the frontend of the Compass platform, a transparent platform for forming
|
||||
|
||||
## Tech Stack
|
||||
|
||||
- **Framework**: Next.js 14.1.0
|
||||
- **Framework**: Next.js 16
|
||||
- **Language**: TypeScript
|
||||
- **UI Library**: React 19.2.3
|
||||
- **Styling**: Tailwind CSS 3.3.3
|
||||
@@ -220,6 +220,7 @@ Catches React errors and shows user-friendly message:
|
||||
|
||||
```tsx
|
||||
import {ErrorBoundary} from 'web/components/error-boundary'
|
||||
|
||||
;<ErrorBoundary>
|
||||
<MyComponent />
|
||||
</ErrorBoundary>
|
||||
@@ -249,6 +250,7 @@ Keyboard users can skip to main content:
|
||||
|
||||
```tsx
|
||||
import {SkipLink, MainContent} from 'web/components/skip-link'
|
||||
|
||||
;<>
|
||||
<SkipLink />
|
||||
<MainContent>...</MainContent>
|
||||
@@ -354,19 +356,3 @@ Add the following environment variables and the ones in `.env` in the Vercel das
|
||||
```bash
|
||||
NEXT_PUBLIC_VERCEL=1
|
||||
```
|
||||
|
||||
## `next` version
|
||||
|
||||
The `next` version is 14.1.0, as we get the following error with 15.1.2 and above when accessing `/[username]` pages on
|
||||
Vercel:
|
||||
|
||||
```
|
||||
Cannot find module 'next/dist/compiled/source-map'
|
||||
Require stack:
|
||||
- /var/task/node_modules/next/dist/compiled/next-server/server.runtime.prod.js
|
||||
- /var/task/web/___next_launcher.cjs
|
||||
Did you forget to add it to "dependencies" in `package.json`?
|
||||
Node.js process exited with exit status: 1. The logs above can help with debugging the issue.
|
||||
```
|
||||
|
||||
TODO: investigate, find a fix and upgrade.
|
||||
|
||||
Reference in New Issue
Block a user