rsnext/examples/with-patternfly
Daniel Reinoso d21ad2b44f Add Patternfly example (#9251)
* Add Patternfly example

* Fix lint

* Add missing space

* Remove trailing comma
2019-11-01 22:56:19 -04:00
..
pages Add Patternfly example (#9251) 2019-11-01 22:56:19 -04:00
next.config.js Add Patternfly example (#9251) 2019-11-01 22:56:19 -04:00
package.json Add Patternfly example (#9251) 2019-11-01 22:56:19 -04:00
README.md Add Patternfly example (#9251) 2019-11-01 22:56:19 -04:00

Patternfly example

How to use

Using create-next-app

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

npx create-next-app --example with-patternfly with-patternfly-app
# or
yarn create next-app --example with-patternfly with-patternfly-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-patternfly
cd with-patternfly

Install it and run:

npm install
npm run dev
# or
yarn
yarn dev

Deploy it to the cloud with now (download)

now

The idea behind the example

This example shows how to use Next.js along with Patterfly including handling of external styles and assets. This is intended to show the integration of this design system with the Framework.