also looking at this
Merge @stacksjs/ts-css into this repo as packages/toolkit
#27
128 files
+9797
-201
| @@ -15,7 +15,7 @@ cd my-app | ||
| 15 | 15 | |
| 16 | 16 | # Install ts-css |
| 17 | 17 | |
| 18 | bun add ts-css | |
| 18 | bun add @ts-css/core | |
| 19 | 19 | |
| 20 | 20 | # Initialize ts-css |
| 21 | 21 | |
| @@ -23,7 +23,7 @@ bunx cssx init | ||
| 23 | 23 | ```**Configuration:**```typescript |
| 24 | 24 | |
| 25 | 25 | // css.config.ts |
| 26 | import type { TsCssOptions } from 'ts-css' | |
| 26 | import type { TsCssOptions } from '@ts-css/core' | |
| 27 | 27 | |
| 28 | 28 | const config = { |
| 29 | 29 | content: ['./src/**/*.{js,jsx,ts,tsx}'], |
| @@ -90,7 +90,7 @@ bun install | ||
| 90 | 90 | |
| 91 | 91 | # Install ts-css |
| 92 | 92 | |
| 93 | bun add ts-css | |
| 93 | bun add @ts-css/core | |
| 94 | 94 | bunx cssx init |
| 95 | 95 | |
| 96 | 96 | ```**Configuration:**```typescript |
| @@ -118,7 +118,7 @@ cd my-app | ||
| 118 | 118 | |
| 119 | 119 | # Install ts-css |
| 120 | 120 | |
| 121 | bun add ts-css | |
| 121 | bun add @ts-css/core | |
| 122 | 122 | bunx cssx init |
| 123 | 123 | ```**Configuration:**```typescript |
| 124 | 124 | |
| @@ -191,7 +191,7 @@ bun install | ||
| 191 | 191 | |
| 192 | 192 | # Install ts-css |
| 193 | 193 | |
| 194 | bun add ts-css | |
| 194 | bun add @ts-css/core | |
| 195 | 195 | bunx cssx init |
| 196 | 196 | |
| 197 | 197 | ```**Configuration:**```typescript |
| @@ -263,7 +263,7 @@ bun install | ||
| 263 | 263 | |
| 264 | 264 | # Install ts-css |
| 265 | 265 | |
| 266 | bun add ts-css | |
| 266 | bun add @ts-css/core | |
| 267 | 267 | bunx cssx init |
| 268 | 268 | ```**Configuration:**```typescript |
| 269 | 269 | |
| @@ -307,7 +307,7 @@ bun install | ||
| 307 | 307 | |
| 308 | 308 | # Install ts-css |
| 309 | 309 | |
| 310 | bun add ts-css | |
| 310 | bun add @ts-css/core | |
| 311 | 311 | bunx cssx init |
| 312 | 312 | ```**Configuration:**```typescript |
| 313 | 313 | |
| @@ -358,7 +358,7 @@ const config = { | ||
| 358 | 358 | bun create vite my-app --template svelte-ts |
| 359 | 359 | cd my-app |
| 360 | 360 | bun install |
| 361 | bun add ts-css | |
| 361 | bun add @ts-css/core | |
| 362 | 362 | bunx cssx init |
| 363 | 363 | |
| 364 | 364 | ```**Configuration:**```typescript |
| @@ -377,7 +377,7 @@ bun install | ||
| 377 | 377 | |
| 378 | 378 | # Install ts-css |
| 379 | 379 | |
| 380 | bun add ts-css | |
| 380 | bun add @ts-css/core | |
| 381 | 381 | bunx cssx init |
| 382 | 382 | |
| 383 | 383 | ```**Configuration:**```typescript |
| @@ -444,7 +444,7 @@ bun install | ||
| 444 | 444 | |
| 445 | 445 | # Install ts-css |
| 446 | 446 | |
| 447 | bun add ts-css | |
| 447 | bun add @ts-css/core | |
| 448 | 448 | bunx cssx init |
| 449 | 449 | ```**Configuration:**```typescript |
| 450 | 450 | |
| @@ -471,7 +471,7 @@ bun install | ||
| 471 | 471 | |
| 472 | 472 | # Install ts-css |
| 473 | 473 | |
| 474 | bun add ts-css | |
| 474 | bun add @ts-css/core | |
| 475 | 475 | bunx cssx init |
| 476 | 476 | |
| 477 | 477 | ```**Configuration:**```typescript |
| @@ -491,7 +491,7 @@ import './styles.css' | ||
| 491 | 491 | |
| 492 | 492 | # Install ts-css |
| 493 | 493 | |
| 494 | bun add ts-css | |
| 494 | bun add @ts-css/core | |
| 495 | 495 | bunx cssx init |
| 496 | 496 | ```**Configuration:**```typescript |
| 497 | 497 | |
| @@ -525,7 +525,7 @@ const config = { | ||
| 525 | 525 | |
| 526 | 526 | # In your Hugo project |
| 527 | 527 | |
| 528 | bun add ts-css | |
| 528 | bun add @ts-css/core | |
| 529 | 529 | bunx cssx init |
| 530 | 530 | ```**Configuration:**```typescript |
| 531 | 531 | |