Panda monorepo examples
Consuming-side: Different ways to import Panda styled-system (outdir) functions and components:
Publishing-side: Shipping a Panda preset/component library:
with-import-map
This example shows how to use the config.importMap option to indicate where each of the outdir (styled-system by
default) entrypoints should be imported from.
Tags: importMap, package.json, #imports, #exports, tsconfig, paths aliases, baseUrl
with-import-map-package
This example shows how to use the config.importMap option to indicate where each of the outdir (styled-system by
default) entrypoints should be imported from.
Tags: importMap, package.json, custom entrypoints
shipping
with-build-infos
This example shows how to use the panda ship command to easily
ship your library styles without having to expose your library source code.
Tags: panda.buildinfo.json, panda ship, include, src, files, dist, publish, expose
with-preset
This example is a very basic example showing how to ship a Panda
preset
This is the same example as
module-resolution/with-outdir
Tags: simple, default, styled-system, design-system
with-src-files
This example shows how to use the to easily ship your library specific styles
Tags: include, src, files, dist, publish, expose
with-static-css
This example shows how to use the config.staticCss to generate a static CSS file from your config, so that even
non-Panda users can use your library.
Tags: static, staticCss, css, dist, publish, expose, without, no build-step, dynamic