rsnext/examples/with-filbert/README.md
anotherjsguy 5d2e960c6c
(chore) Add with-filbert as example (#15161)
This PR adds an example for [filbert-js](https://filbert-js.vercel.app/docs/introduction) 🖌️
I have locally run the example & it's working as expected.
2020-07-16 23:05:04 +00:00

1.6 KiB

Using Next.js with filbert-js

A light weight(~1KB) css-in-js solution(framework)🎨

This example showcase how to perform SSR & extract and inline critical css with @filbert-js/server-stylesheet and @filbert-js/core

If you are running into any issues with this example, feel free to open-up an issue at https://github.com/kuldeepkeshwar/filbert-js/issues.

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:

npx create-next-app --example with-filbert with-filbert-app
# or
yarn create next-app --example with-filbert with-filbert-app

Download manually

Download the example:

curl https://codeload.github.com/vercel/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/with-filbert
cd with-filbert

Install it and run:

npm install
npm run dev
# or
yarn
yarn dev

Deploy it to the cloud with Vercel (Documentation).