Consuming-side: Different ways to import Panda styled-system
(outdir) functions and components:
Publishing-side: Shipping a Panda preset/component library:
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
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
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
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
This example shows how to use the to easily ship your library specific styles
Tags: include, src, files, dist, publish, expose
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