a3c47721a1
This uses the "Expand directories" feature introduces in Prettier 2.0 to automatically format all supported file types. Also, I fixed some badly formatted files. |
||
---|---|---|
.. | ||
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).