Update version numbers
This commit is contained in:
parent
1004107c93
commit
c89da30a6d
|
@ -13,7 +13,7 @@ Datastar helps you build reactive web applications with the simplicity of server
|
|||
Getting started is as easy as adding a single 14.3 KiB script tag to your HTML.
|
||||
|
||||
```html
|
||||
<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/datastar@v1.0.0-beta.3/bundles/datastar.js"></script>
|
||||
<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/datastar@v1.0.0-beta.4/bundles/datastar.js"></script>
|
||||
```
|
||||
|
||||
Then start adding frontend reactivity using declarative <code>data-*</code> attributes.
|
||||
|
@ -44,7 +44,7 @@ You can manually add your own plugins to the core:
|
|||
<script type="importmap">
|
||||
{
|
||||
"imports": {
|
||||
"datastar": "https://cdn.jsdelivr.net/gh/starfederation/datastar@v1.0.0-beta.3/bundles/datastar.js"
|
||||
"datastar": "https://cdn.jsdelivr.net/gh/starfederation/datastar@v1.0.0-beta.4/bundles/datastar.js"
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -13,7 +13,7 @@ Datastar helps you build reactive web applications with the simplicity of server
|
|||
Getting started is as easy as adding a single 14.3 KiB script tag to your HTML.
|
||||
|
||||
```html
|
||||
<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/datastar@v1.0.0-beta.3/bundles/datastar.js"></script>
|
||||
<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/datastar@v1.0.0-beta.4/bundles/datastar.js"></script>
|
||||
```
|
||||
|
||||
Then start adding frontend reactivity using declarative <code>data-*</code> attributes.
|
||||
|
@ -44,7 +44,7 @@ You can manually add your own plugins to the core:
|
|||
<script type="importmap">
|
||||
{
|
||||
"imports": {
|
||||
"datastar": "https://cdn.jsdelivr.net/gh/starfederation/datastar@v1.0.0-beta.3/bundles/datastar.js"
|
||||
"datastar": "https://cdn.jsdelivr.net/gh/starfederation/datastar@v1.0.0-beta.4/bundles/datastar.js"
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -8,7 +8,7 @@ Real-time Hypermedia first Library and Framework for dotnet
|
|||
<html lang="en">
|
||||
<head>
|
||||
<script type="module"
|
||||
src="https://cdn.jsdelivr.net/gh/starfederation/datastar@1.0.0-beta.3/bundles/datastar.js"></script>
|
||||
src="https://cdn.jsdelivr.net/gh/starfederation/datastar@1.0.0-beta.4/bundles/datastar.js"></script>
|
||||
<title>D* Demo</title>
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -9,7 +9,7 @@ import (
|
|||
|
||||
templ Home() {
|
||||
{{
|
||||
cdnText := `<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/datastar@v1.0.0-beta.3/bundles/datastar.js"></script>`
|
||||
cdnText := fmt.Sprintf(`<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/datastar@%s/bundles/datastar.js`, datastar.Version)
|
||||
}}
|
||||
{{
|
||||
usageSample := `<input data-bind-title />
|
||||
|
|
|
@ -19,7 +19,7 @@ With Datastar, you can build any UI that a full-stack framework like React, Vue.
|
|||
The quickest way to use Datastar is to include it in your HTML using a script tag hosted on a CDN.
|
||||
|
||||
```html
|
||||
<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/datastar@v1.0.0-beta.3/bundles/datastar.js"></script>
|
||||
<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/datastar@v1.0.0-beta.4/bundles/datastar.js"></script>
|
||||
```
|
||||
|
||||
If you prefer to host the file yourself, download your own bundle using the [bundler](/bundler), then include it from the appropriate path.
|
||||
|
|
Loading…
Reference in New Issue