Directories
¶
| Path | Synopsis |
|---|---|
|
Command generate-style-classes writes assets/css/style-classes.txt: every Tailwind utility of the 8 vendored style maps, one per line, sorted.
|
Command generate-style-classes writes assets/css/style-classes.txt: every Tailwind utility of the 8 vendored style maps, one per line, sorted. |
|
highlight-gen produces the build-time shiki cache (CREATE_1TO1_PLAN 2f): it crawls every sitemap URL of a running docs server (which must have the node shiki service and HIGHLIGHT_DUMP=1), so every page renders once and fills the in-memory highlight cache, then fetches the hashed dump from /debug/highlight-cache and writes it gzipped.
|
highlight-gen produces the build-time shiki cache (CREATE_1TO1_PLAN 2f): it crawls every sitemap URL of a running docs server (which must have the node shiki service and HIGHLIGHT_DUMP=1), so every page renders once and fills the in-memory highlight cache, then fetches the hashed dump from /debug/highlight-cache and writes it gzipped. |
|
Command inline expands the cn-* marker classes of a .templ source into the flat Tailwind utilities of a chosen style (the Go pendant to shadcn's registry style build) and prints the result to stdout.
|
Command inline expands the cn-* marker classes of a .templ source into the flat Tailwind utilities of a chosen style (the Go pendant to shadcn's registry style build) and prints the result to stdout. |
|
Command sitemap generates static/sitemap.xml from the same sources the docs server registers its routes from: the static page list here, shared.DocSlugs (markdown docs pages), registry.Components() (component pages) and pages.ChartTypes (chart gallery categories).
|
Command sitemap generates static/sitemap.xml from the same sources the docs server registers its routes from: the static page list here, shared.DocSlugs (markdown docs pages), registry.Components() (component pages) and pages.ChartTypes (chart gallery categories). |
|
The templui CLI, the pendant of shadcn/src/index.ts: command wiring for init, add, apply and preset.
|
The templui CLI, the pendant of shadcn/src/index.ts: command wiring for init, add, apply and preset. |
|
commands
The add command, the pendant of src/commands/add.ts, with the shared install pipeline of src/utils/add-components.ts inlined below (templui has no monorepo/workspace split, so one pipeline is enough).
|
The add command, the pendant of src/commands/add.ts, with the shared install pipeline of src/utils/add-components.ts inlined below (templui has no monorepo/workspace split, so one pipeline is enough). |
|
registry
The pendant of shadcn/src/registry/api.ts and constants.ts: URL building and item fetching against the templui registry.
|
The pendant of shadcn/src/registry/api.ts and constants.ts: URL building and item fetching against the templui registry. |
|
templates
Package templates is the pendant of src/templates in the shadcn CLI (create-template.ts + index.ts): a templates map, each entry a manifest over a vendored template directory that init copies into a new project.
|
Package templates is the pendant of src/templates in the shadcn CLI (create-template.ts + index.ts): a templates map, each entry a manifest over a vendored template directory that init copies into a new project. |
|
utils
Package utils is the pendant of shadcn/src/utils: get_config.go covers get-config.ts, the components.json shape and its resolved paths.
|
Package utils is the pendant of shadcn/src/utils: get_config.go covers get-config.ts, the components.json shape and its resolved paths. |
|
utils/updaters
css_state.go is the pendant of extractCssState in src/preset/resolve.ts: read the variables and imports the preset resolver matches against.
|
css_state.go is the pendant of extractCssState in src/preset/resolve.ts: read the variables and imports the preset resolver matches against. |
Click to show internal directories.
Click to hide internal directories.