An open API service indexing awesome lists of open source software.

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

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`.