Build on the supported package contract
Use absolutejs-stylelab-example through its supported public entry points.
absolutejs-stylelab-examplev0.0.1betaDev ToolsShows AbsoluteJS Sass, SCSS, Less, and SCSS module preprocessing across React, Svelte, Vue, Angular, HTML, and HTMX routes.
# Private workspace project: ~/abs/examples/stylelabShows AbsoluteJS Sass, SCSS, Less, and SCSS module preprocessing across React, Svelte, Vue, Angular, HTML, and HTMX routes.
The root redirects to /react/tailwind. Every combination is available at // where the frameworks are react, svelte, vue, angular, html, and htmx, and the styles are scss, less, stylus, and tailwind.
Global SCSS, Less, and Stylus compilation.
Framework component styles and Vue SCSS modules.
Tailwind CSS generation from the configured input file.
additionalData variables supplied to Less and Stylus preprocessors.
A custom PostCSS plugin that appends a visible proof property.
The same styling pipeline across component and HTML-first routes.
The central setup lives in absolute.config.ts:
Use the matrix navigation in any rendered page to compare the generated output. The cards and accent colors provide a quick visual check that variables, modules, Tailwind utilities, and PostCSS transforms all reached the browser.
Outcomes
Use absolutejs-stylelab-example through its supported public entry points.
Hardening checklist
Follow in order
Working example for Run it.
bun install
bun run devThe central setup lives in absolute.config.ts:
export default defineConfig({
stylePreprocessors: {
less: { additionalData: '@accent: #0f766e;' },
stylus: { additionalData: 'stylusAccent = #7e22ce' }
},
stylesConfig: './src/frontend/styles/indexes',
tailwind: {
input: './src/frontend/styles/tailwind.css',
output: 'tailwind.css'
}
});Scripts declared by this package manifest.