Skip to content

Commit 2f8e3f6

Browse files
committed
fix: update example paths in README and improve type imports in entry-server and page components
1 parent 5848f95 commit 2f8e3f6

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,11 @@ Pranx aims to provide a minimal, highly-performant fullstack developer experienc
2626
## Project status
2727

2828
- Current state: full rewrite in progress
29-
- Examples located in `examples/basic`
29+
- Examples located in `examples/`
3030
- Expect breaking changes until v1.0
3131

32+
33+
3234
Deployment targets: Node servers, serverless platforms, edge runtimes (dependant on handler compile target).
3335

3436
## Contributing

examples/basic/src/entry-server.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { type ServerEntryProps } from "pranx";
1+
import type { ServerEntryProps } from "pranx";
22
import { Meta, Scripts } from "pranx/server";
33

44
export default function ServerEntry({ children }: ServerEntryProps) {

examples/basic/src/pages/products/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { type GetServerSidePropsFunction } from "pranx";
1+
import type { GetServerSidePropsFunction } from "pranx";
22
import { useAppContext } from "pranx/client";
33
import { Header } from "src/components/Header";
44
import "./products.css";

packages/pranx/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Pranx aims to provide a minimal, highly-performant fullstack developer experienc
2626
## Project status
2727

2828
- Current state: full rewrite in progress
29-
- Examples located in `examples/basic`
29+
- Examples located in `examples/`
3030
- Expect breaking changes until v1.0
3131

3232

0 commit comments

Comments
 (0)