Skip to content

Commit

Permalink
docs: update copy
Browse files Browse the repository at this point in the history
  • Loading branch information
rossrobino committed Sep 18, 2024
1 parent d13e1b7 commit e12a07b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions apps/docs/src/server/content/_preview.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { html } from "client:page";

export const handler = async (req: Request) => {
return new Response(
html, // Your Vite app.
html, // Bundled client application.
{
headers: { "Content-Type": "text/html" },
},
Expand All @@ -25,9 +25,9 @@ Server-side JavaScript runtimes are standardizing on the Web [`Request`](https:/

One of the main goals of domco is to be able to create full-stack JavaScript applications using vanilla JavaScript. Without domco, it's challenging to achieve the same developer experience as other frameworks that are based around a UI library. By default, domco only bundles only the code you write, making it efficient and straightforward.

If you need a front-end framework, you can use any Vite plugin as you would in a traditional Vite application.
If you need a UI framework, you can use any Vite plugin as you would in a traditional Vite application.

On the server, domco is compatible with any server-side JavaScript framework that provides a web request handler taking a `Request` argument and returning a `Response`. Check out the [examples](/examples) to see how to use popular server frameworks with domco.
domco is compatible with any server-side JavaScript framework that provides a web request handler taking a `Request` argument and returning a `Response`. Check out the [examples](/examples) to see how to use popular server frameworks with domco.

### Minimal Dependencies

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/server/content/tutorial.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Tutorial

The following documentation covers the basics of creating a site and all of the features domco provides in addition to Vite and Hono. See the [Vite](https://vitejs.dev/) or [Hono](https://hono.dev) documentation for more information and configuration options.
The following documentation covers the basics of creating a site and all of the features domco provides in addition to Vite. See the [Vite](https://vitejs.dev/) documentation for more information and configuration options.

## Create a new project

Expand Down

0 comments on commit e12a07b

Please sign in to comment.