4e5a359ae5
## 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` |
||
---|---|---|
.. | ||
pages | ||
.babelrc | ||
.gitignore | ||
next.config.js | ||
package.json | ||
README.md |
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:
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).