rsnext/examples/with-react-bootstrap
liwenzhi 4a8b896122
[Examples]: With react bootstrap (#12421)
* add new example with-react-bootstrap

* use vanilla react-bootstrap components to implement index page

* clear unnecessary comments

* remove private property in package.json

* Updates

Co-authored-by: Luis Alvarez <luis@vercel.com>
2020-05-07 17:13:59 -05:00
..
pages [Examples]: With react bootstrap (#12421) 2020-05-07 17:13:59 -05:00
public [Examples]: With react bootstrap (#12421) 2020-05-07 17:13:59 -05:00
style [Examples]: With react bootstrap (#12421) 2020-05-07 17:13:59 -05:00
package.json [Examples]: With react bootstrap (#12421) 2020-05-07 17:13:59 -05:00
README.md [Examples]: With react bootstrap (#12421) 2020-05-07 17:13:59 -05:00

Next.js with react-bootstrap example

This example shows how to use Next.js along with react-bootstrap.

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 with-react-bootstrap with-react-bootstrap-app
# or
yarn create next-app --example with-react-bootstrap with-react-bootstrap-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/with-react-bootstrap
cd with-react-bootstrap

Install it and run:

npm install
npm run dev
# or
yarn
yarn dev

Deploy it to the cloud with Vercel (Documentation).