rsnext/examples/with-linaria
2021-02-04 08:12:19 +00:00
..
pages Removed React import from pages/index.js (#15144) 2020-07-14 04:59:24 +00:00
.babelrc Include all files in Prettier (#17050) 2020-09-14 02:53:19 +00:00
.gitignore Added .gitignore to examples that are deployed to vercel (#15127) 2020-07-16 10:52:23 -04:00
next.config.js Improve linting rules to catch more errors (#9374) 2019-11-10 19:24:53 -08:00
package.json Ensure all examples are MIT licensed (#16691) 2020-08-29 22:32:35 -04:00
README.md Fix Linaria link (#21826) 2021-02-04 08:12:19 +00:00

Example app with linaria

This example features how to use linaria as the styling solution instead of styled-jsx.

We are creating three div elements with custom styles being shared across the elements. The styles includes the use of pseudo-selector and CSS animations.

Deploy your own

Deploy the example using Vercel:

Deploy with Vercel

How to use

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

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

Deploy it to the cloud with Vercel (Documentation).