rsnext/examples/with-linaria
Turadg Aleahmad 4e5a359ae5
update with-linaria example (#23332)
## Documentation / Examples

* removes deprecated `@zeit/next-css`.
* adds https://github.com/Mistereo/next-linaria to work with the new built-in CSS functionality.
* updates Linaria to latest release (v3 will require https://github.com/Mistereo/next-linaria/pull/3 ) 
* adds an example of using Linaria without React
* gitignores `.linaria-cache`
2021-03-26 18:02:55 +00:00
..
pages update with-linaria example (#23332) 2021-03-26 18:02:55 +00:00
.babelrc Include all files in Prettier (#17050) 2020-09-14 02:53:19 +00:00
.gitignore update with-linaria example (#23332) 2021-03-26 18:02:55 +00:00
next.config.js update with-linaria example (#23332) 2021-03-26 18:02:55 +00:00
package.json update with-linaria example (#23332) 2021-03-26 18:02:55 +00: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).