Skip to content

Commit

Permalink
chore: add react example
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaAmaju committed Apr 7, 2024
1 parent 51bf848 commit 95e830c
Show file tree
Hide file tree
Showing 18 changed files with 2,139 additions and 10 deletions.
5 changes: 5 additions & 0 deletions examples/react/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.stack54
node_modules
.env
public/assets
dist
7 changes: 7 additions & 0 deletions examples/react/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"svelte.plugin.svelte.defaultScriptLanguage": "ts",
"svelte.plugin.svelte.format.config.svelteStrictMode": true,
"files.associations": {
"*.svx": "markdown"
},
}
28 changes: 28 additions & 0 deletions examples/react/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "react",
"version": "0.0.1",
"description": "",
"type": "module",
"private": true,
"scripts": {
"dev": "vite dev",
"build": "vite build",
"preview": "vite preview"
},
"keywords": [],
"dependencies": {
"hono": "^3.12.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"stack54": "^0.2.0",
"svelte": "^4.2.8"
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"@tsconfig/svelte": "^5.0.2",
"@types/react": "^18.2.74",
"@types/react-dom": "^18.2.24",
"typescript": "^5.3.3",
"vite": "^5.0.10"
}
}
Loading

0 comments on commit 95e830c

Please sign in to comment.