-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d21bf39
commit d4ca000
Showing
13 changed files
with
125 additions
and
128 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
/* @refresh reload */ | ||
import { render } from 'solid-js/web' | ||
import { render } from 'solid-js/web'; | ||
|
||
import './index.css' | ||
import App from './App' | ||
import './index.css'; | ||
import App from './App'; | ||
|
||
const root = document.getElementById('root') | ||
const root = document.getElementById('root') as HTMLElement; | ||
|
||
render(() => <App />, root!) | ||
render(() => <App />, root); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import { defineConfig } from 'vite' | ||
import solid from 'vite-plugin-solid' | ||
import { defineConfig } from 'vite'; | ||
import solid from 'vite-plugin-solid'; | ||
|
||
export default defineConfig({ | ||
plugins: [solid()], | ||
}) | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import { Hono } from "hono"; | ||
import linkRouter from "./links-router"; | ||
import { Hono } from 'hono'; | ||
import linkRouter from './links-router'; | ||
|
||
const appRouter = new Hono(); | ||
|
||
appRouter.route("/links", linkRouter); | ||
appRouter.route('/links', linkRouter); | ||
|
||
export default appRouter; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { Hono } from "hono"; | ||
import { Hono } from 'hono'; | ||
|
||
const linkRouter = new Hono(); | ||
|
||
linkRouter.get("/:id", (c) => c.json(`test get ${c.req.param("id")}`)); | ||
linkRouter.get('/:id', c => c.json(`test get ${c.req.param('id')}`)); | ||
|
||
export default linkRouter; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.