Skip to content

Commit 87d1059

Browse files
committed
chore: update doc to use @twind/core
(cherry picked from commit 334071eed92a4e8a470c199bf784bbcf520b49e3) # Conflicts: # documentation/preset-container-queries.md
1 parent dfcc92f commit 87d1059

File tree

9 files changed

+19
-19
lines changed

9 files changed

+19
-19
lines changed

documentation/cdns.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ hidden: true
33
---
44

55
https://cdn.jsdelivr.net/npm/twind
6-
https://cdn.jsdelivr.net/combine/npm/twind,npm/@twind/preset-autoprefix,npm/@twind/preset-tailwind
6+
https://cdn.jsdelivr.net/combine/npm/@twind/core@1,npm/@twind/preset-autoprefix,npm/@twind/preset-tailwind
77

88
https://cdn.jsdelivr.net/npm/@twind/cdn
99
https://cdn.jsdelivr.net/combine/npm/@twind/cdn,npm/@twind/preset-ext

documentation/installation.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ Twind is available as a global browser script and can be used directly in the br
163163

164164
```html [2]
165165
<head>
166-
<script src="https://cdn.jsdelivr.net/npm/@twind/core" crossorigin></script>
166+
<script src="https://cdn.jsdelivr.net/npm/@twind/core@1" crossorigin></script>
167167
</head>
168168
```
169169

@@ -180,7 +180,7 @@ Twind is available as a global browser script and can be used directly in the br
180180

181181
```html [3-7]
182182
<head>
183-
<script src="https://cdn.jsdelivr.net/npm/@twind/core" crossorigin></script>
183+
<script src="https://cdn.jsdelivr.net/npm/@twind/core@1" crossorigin></script>
184184
<script>
185185
twind.install({
186186
/* options */
@@ -206,7 +206,7 @@ Twind is available as a global browser script and can be used directly in the br
206206
```html [2-5]
207207
<head>
208208
<script
209-
src="https://cdn.jsdelivr.net/combine/npm/@twind/core,npm/@twind/preset-autoprefix,npm/@twind/preset-tailwind"
209+
src="https://cdn.jsdelivr.net/combine/npm/@twind/core@1,npm/@twind/preset-autoprefix@1,npm/@twind/preset-tailwind@1"
210210
crossorigin
211211
></script>
212212
</head>
@@ -222,7 +222,7 @@ Twind is available as a global browser script and can be used directly in the br
222222
```html [6-10]
223223
<head>
224224
<script
225-
src="https://cdn.jsdelivr.net/combine/npm/@twind/core,npm/@twind/preset-autoprefix,npm/@twind/preset-tailwind"
225+
src="https://cdn.jsdelivr.net/combine/npm/@twind/core@1,npm/@twind/preset-autoprefix@1,npm/@twind/preset-tailwind@1"
226226
crossorigin
227227
></script>
228228
<script>

documentation/preset-autoprefix.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ next: ./preset-container-queries.md
99

1010
## 📦 Installation
1111

12-
**with [@twind/core](https://github.com/tw-in-js/twind/tree/main/packages/core)**
12+
**with [@twind/core](./installation#local--bundler)**
1313

1414
Install from npm:
1515

@@ -34,7 +34,7 @@ export default defineConfig({
3434
```html
3535
<head>
3636
<script
37-
src="https://cdn.jsdelivr.net/combine/npm/twind,npm/@twind/preset-autoprefix"
37+
src="https://cdn.jsdelivr.net/combine/npm/@twind/core@1,npm/@twind/preset-autoprefix@1"
3838
crossorigin
3939
></script>
4040
<script>

documentation/preset-container-queries.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ next: ./preset-ext.md
1919

2020
## 📦 Installation
2121

22-
**with [@twind/core](https://github.com/tw-in-js/twind/tree/main/packages/core)**
22+
**with [@twind/core](./installation#local--bundler)**
2323

2424
Install from npm:
2525

@@ -44,7 +44,7 @@ export default defineConfig({
4444
```html
4545
<head>
4646
<script
47-
src="https://cdn.jsdelivr.net/combine/npm/twind,npm/@twind/preset-container-queries"
47+
src="https://cdn.jsdelivr.net/combine/npm/@twind/core@1,npm/@twind/preset-container-queries@1"
4848
crossorigin
4949
></script>
5050
<script>

documentation/preset-ext.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ next: ./preset-line-clamp.md
99

1010
## 📦 Installation
1111

12-
**with [@twind/core](https://github.com/tw-in-js/twind/tree/main/packages/core)**
12+
**with [@twind/core](./installation#local--bundler)**
1313

1414
Install from npm:
1515

@@ -34,7 +34,7 @@ export default defineConfig({
3434
```html
3535
<head>
3636
<script
37-
src="https://cdn.jsdelivr.net/combine/npm/twind,npm/@twind/preset-ext"
37+
src="https://cdn.jsdelivr.net/combine/npm/@twind/core@1,npm/@twind/preset-ext@1"
3838
crossorigin
3939
></script>
4040
<script>

documentation/preset-line-clamp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ next: ./preset-tailwind.md
1919

2020
## 📦 Installation
2121

22-
**with [@twind/core](https://github.com/tw-in-js/twind/tree/main/packages/core)**
22+
**with [@twind/core](./installation#local--bundler)**
2323

2424
Install from npm:
2525

@@ -44,7 +44,7 @@ export default defineConfig({
4444
```html
4545
<head>
4646
<script
47-
src="https://cdn.jsdelivr.net/combine/npm/twind,npm/@twind/preset-line-clamp"
47+
src="https://cdn.jsdelivr.net/combine/npm/@twind/core@1,npm/@twind/preset-line-clamp@1"
4848
crossorigin
4949
></script>
5050
<script>

documentation/preset-tailwind-forms.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ next: ./preset-typography.md
2020

2121
## 📦 Installation
2222

23-
**with [@twind/core](https://github.com/tw-in-js/twind/tree/main/packages/core)**
23+
**with [@twind/core](./installation#local--bundler)**
2424

2525
Install from npm:
2626

@@ -46,7 +46,7 @@ export default defineConfig({
4646
```html
4747
<head>
4848
<script
49-
src="https://cdn.jsdelivr.net/combine/npm/twind,npm/@twind/preset-tailwind,npm/@twind/preset-tailwind-forms"
49+
src="https://cdn.jsdelivr.net/combine/npm/@twind/core@1,npm/@twind/preset-tailwind@1,npm/@twind/preset-tailwind-forms@1"
5050
crossorigin
5151
></script>
5252
<script>

documentation/preset-tailwind.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ next: ./preset-tailwind-forms.md
1717

1818
## 📦 Installation
1919

20-
**with [@twind/core](https://github.com/tw-in-js/twind/tree/main/packages/core)**
20+
**with [@twind/core](./installation#local--bundler)**
2121

2222
Install from npm:
2323

@@ -42,7 +42,7 @@ export default defineConfig({
4242
```html
4343
<head>
4444
<script
45-
src="https://cdn.jsdelivr.net/combine/npm/twind,npm/@twind/preset-tailwind"
45+
src="https://cdn.jsdelivr.net/combine/npm/@twind/core@1,npm/@twind/preset-tailwind@1"
4646
crossorigin
4747
></script>
4848
<script>

documentation/preset-typography.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ next: ./with-gatsby.md
1919

2020
## 📦 Installation
2121

22-
**with [@twind/core](https://github.com/tw-in-js/twind/tree/main/packages/core)**
22+
**with [@twind/core](./installation#local--bundler)**
2323

2424
Install from npm:
2525

@@ -45,7 +45,7 @@ setup({
4545
```html
4646
<head>
4747
<script
48-
src="https://cdn.jsdelivr.net/combine/npm/twind,npm/@twind/preset-typography"
48+
src="https://cdn.jsdelivr.net/combine/npm/@twind/core@1,npm/@twind/preset-typography@1"
4949
crossorigin
5050
></script>
5151
<script>

0 commit comments

Comments
 (0)