You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A common pattern is to serve a static frontend application (e.g., React, Vue, Svelte) using Static Assets,
14
14
then pass backend requests to a containerized backend application.
15
15
16
-
In this example, we'll show an example using a simple index.html file served as a static asset,
16
+
In this example, we'll show an example using a simple `index.html` file served as a static asset,
17
17
but you can select from one of many frontend frameworks. See our [Workers framework examples](/workers/framework-guides/web-apps/) for more information.
18
18
19
19
For a full example, see the [Static Frontend + Container Backend Template](https://github.com/mikenomitch/static-frontend-container-backend).
@@ -123,7 +123,7 @@ Create a simple `index.html` file in the `./dist` directory.
123
123
```
124
124
</Details>
125
125
126
-
In this example, we are using [Alpine.js](https://alpinejs.dev/) to fetch a list of widgets from "/api/widgets".
126
+
In this example, we are using [Alpine.js](https://alpinejs.dev/) to fetch a list of widgets from `/api/widgets`.
127
127
128
128
This is meant to be a very simple example, but you can get significantly more complex.
129
129
See [examples of Workers integrating with frontend frameworks](/workers/framework-guides/web-apps/) for more information.
@@ -186,11 +186,11 @@ import (
186
186
)
187
187
188
188
funchandler(w http.ResponseWriter, r \*http.Request) {
0 commit comments