https://github.com/ar-dev-1/ssr-static-website-examples
SSR Website Examples
https://github.com/ar-dev-1/ssr-static-website-examples
javascript js jsx samples ssr ts tsx type web website website-development
Last synced: about 1 month ago
JSON representation
SSR Website Examples
- Host: GitHub
- URL: https://github.com/ar-dev-1/ssr-static-website-examples
- Owner: AR-DEV-1
- License: gpl-3.0
- Created: 2024-01-26T08:03:22.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-26T08:30:38.000Z (over 2 years ago)
- Last Synced: 2025-05-07T21:48:54.552Z (about 1 year ago)
- Topics: javascript, js, jsx, samples, ssr, ts, tsx, type, web, website, website-development
- Language: TypeScript
- Homepage:
- Size: 18.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SSR-STATIC-WEBSITE-EXAMPLES
# To run JSX:
Install Next.JS using npm or yarn. For example:
````
npx create-next-app my-static-ssr-app
cd my-static-ssr-app
````
After doing this, add the code located in `pages/`
After creating the page, you can run your Next.JS app:
````
npm run dev
````
This command starts the development server, and you can access your app at `http://localhost:3000`.
# To run TSX:
Install Next.JS with Typescript:
````
npx create-next-app my-static-ssr-app --use-npm --typescript
cd my-static-ssr-app
````
After doing this, add the code located in `pages/`
After creating the page, you can run your Next.JS app:
````
npm run dev
````
This command starts the development server, and you can access your app at `http://localhost:3000`.