mconnor / nextjs-solosec

Next.js - Pharma Sales App

Home Page:https://solosec-nextjs-4e0m8yoa6.vercel.app/iframe

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nextjs-solosec

multi-page pharma site

Note: if the next.js dev server is not quitting, do this

lsof -i:3000

and then

kill -9 [PID]

This example shows the most basic idea behind Next. We have 2 pages: pages/index.js and pages/about.js. The former responds to / requests and the latter to /about. Using next/link you can add hyperlinks between them with universal routing capabilities. The day directory shows that you can have subdirectories.

Deploy your own

Deploy the example using Vercel:

Deploy with Vercel

How to use

Using create-next-app

Execute create-next-app with npm or Yarn to bootstrap the example:

npm init next-app --example hello-world hello-world-app
# or
yarn create next-app --example hello-world hello-world-app

Download manually

Download the example:

curl https://codeload.github.com/zeit/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/hello-world
cd hello-world

Install it and run:

npm install
npm run dev
# or
yarn
yarn dev

Deploy it to the cloud with Vercel (Documentation).

About

Next.js - Pharma Sales App

https://solosec-nextjs-4e0m8yoa6.vercel.app/iframe


Languages

Language:JavaScript 68.3%Language:TypeScript 31.7%Language:HTML 0.1%