Closed JollyGrin closed 4 months ago
Please set skipLibCheck: true
in your tsconfig to resolve this.
I recommend using the CLI when integrating with Stencil until we develop a doc/example.
Feel free to contribute to the docs when you get all this working.
Description
When I attempt to use panda with a stencil.js init template, using postcss, I get build errors relating to exported types.
I was attempting both the CLI and PostCss approaches of panda css
Link to Reproduction
https://github.com/JollyGrin/stencil-panda
Steps to reproduce
Option 1
Option 2
pnpm create stencil
pnpm i -D @stencil-community/postcss autoprefixer
stencil.config.ts
export const config: Config = { namespace: 'stencil-panda', ... plugins: [ postcss({ plugins: [autoprefixer()], }), ], };
pnpm install -D @pandacss/dev pnpm panda init -p
"scripts": { "prepare": "panda codegen", }
pnpm prepare pnpm panda
import { css } from '../../../styled-system/css'; ... return ( <div class={css({ color: 'red' })}> Hello, World! I'm {this.getText()}