Skip to content

Commit

Permalink
readme and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nksaraf committed Sep 23, 2023
1 parent 981127a commit 6c90047
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<p align="center">
<img src="/docs/public/logo.png" width="120" /><h1 align="center"><code margin="0">vinxi</code></h1><p align="center"><i>A bunch of simple but magical React hooks to work with GraphQL.<br>powered by <code><a href="https://github.com/tannerlinsley/react-query">vite</a></code> and <code><a href="https://github.com/tannerlinsley/react-query">nitro</a></code></i></p>
</p>

# `vinxi` (The App Framework)

[![npm version](https://badge.fury.io/js/vinxi.svg)](https://badge.fury.io/js/vinxi)
Expand Down
6 changes: 2 additions & 4 deletions examples/vanilla/spa/app.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,8 @@ export default createApp({
name: "client",
mode: "spa",
handler: "./index.html",
compile: {
target: "browser",
plugins: () => [references.clientRouterPlugin(), reactRefresh()],
},
target: "browser",
plugins: () => [references.clientRouterPlugin(), reactRefresh()],
},
references.serverRouter({
middleware: "./app/middleware.tsx",
Expand Down
1 change: 0 additions & 1 deletion test/templates/react/app.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ export default createApp({
app,
),
target: "server",
// plugins: () => [reactRefresh()],
base: "/api",
},
{
Expand Down

0 comments on commit 6c90047

Please sign in to comment.