Skip to content
Discussion options

You must be logged in to vote

I created this sandbox just for you. Feel free to check it out: https://github.com/chakra-ui/panda/tree/main/sandbox/docusaurus-ts

I will probably add it to the docs, but here are the general steps:

  • Install docusaurus using their CLI:
    npx create-docusaurus@latest my-website classic

  • Install Panda CSS pnpm add -D @pandacss/dev

  • Run panda init to generate the styled-system directory

  • In the docusaurus.config.ts file, set up the Panda postcss plugin

  // ...
import pandaCss from '@pandacss/dev/postcss'

const config: Config = {
  plugins: [
    function () {
      return {
        name: 'docusaurus-plugin',
        configurePostCss(postcssOptions) {
          postcssOptions.plugins.push(

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by segunadebayo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants