e0b384929c
The with-stitches example is broken presumably due to changes in the Stitches API now that it's hit `1.0.0`. I've created an issue already: #28650 I've made three small changes: - Replaced the createCss function in `stitcheds.config.js` with createStitches - Replaced the getCssString function with getCssText in `stitches.config.js` and `pages/_documents.jsx` - Bumped `@stitches/react` to `^1.0.0` 🎉 I've left the rest of the example code alone as I'm still exploring the library after seeing yesterdays release annoucement. @peduarte Is there anything else that needs to updated? |
||
---|---|---|
.. | ||
components | ||
pages | ||
public | ||
.gitignore | ||
package.json | ||
README.md | ||
stitches.config.js |
Stitches Example
This example shows how to use the Stitches CSS-in-JS Library.
Preview
Preview the example live on StackBlitz:
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-stitches with-stitches-app
# or
yarn create next-app --example with-stitches with-stitches-app
Deploy it to the cloud with Vercel (Documentation).