rsnext/examples/with-goober
Kasper Aamodt bc4d98af72
Convert with-goober example to TS (#39761)
## Documentation / Examples

- [x] Make sure the linting passes by running `pnpm lint`
- [x] The examples guidelines are followed from [our contributing doc]


Co-authored-by: JJ Kasper <22380829+ijjk@users.noreply.github.com>
2022-08-21 22:56:51 +00:00
..
pages Convert with-goober example to TS (#39761) 2022-08-21 22:56:51 +00:00
.gitignore Update default gitignore templates (#39051) 2022-07-26 20:08:40 -05:00
package.json Convert with-goober example to TS (#39761) 2022-08-21 22:56:51 +00:00
README.md docs(examples): improve DX while copying command to create new project (#38410) 2022-07-26 21:57:48 -05:00
tsconfig.json Convert with-goober example to TS (#39761) 2022-08-21 22:56:51 +00:00

Example with goober

This is an example of how 🥜 goober can be used with Next.js to fully render a SSR website or app. 🥜 goober proposal is: "a less than 1KB css-in-js alternative with a familiar API" and offering the same functionality one would need.

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

Why is there a peanut emoji?

Goober initially started with a slogan as "a less than 1KB css-in-js library at the cost of peanuts". Goober also means a kind of peanut so, it fits!

Deploy your own

Deploy the example using Vercel or preview live with StackBlitz

Deploy with Vercel

How to use

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

npx create-next-app --example with-goober with-goober-app
yarn create next-app --example with-goober with-goober-app
pnpm create next-app --example with-goober with-goober-app

Deploy it to the cloud with Vercel (Documentation).