Skip to content

Commit 4c3893d

Browse files
committed
feat: init
0 parents  commit 4c3893d

File tree

965 files changed

+11947
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

965 files changed

+11947
-0
lines changed

.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
dist
12+
dist-ssr
13+
*.local
14+
15+
# Editor directories and files
16+
.vscode/*
17+
!.vscode/extensions.json
18+
.idea
19+
.DS_Store
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?

.vscode/extensions.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"recommendations": ["tauri-apps.tauri-vscode", "rust-lang.rust-analyzer"]
3+
}

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Tauri + React + Typescript
2+
3+
This template should help get you started developing with Tauri, React and Typescript in Vite.
4+
5+
## Recommended IDE Setup
6+
7+
- [VS Code](https://code.visualstudio.com/) + [Tauri](https://marketplace.visualstudio.com/items?itemName=tauri-apps.tauri-vscode) + [rust-analyzer](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer)

index.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title>Tauri + React + TS</title>
8+
</head>
9+
10+
<body>
11+
<div id="root"></div>
12+
<script type="module" src="/src/main.tsx"></script>
13+
</body>
14+
</html>

package.json

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"name": "truthy",
3+
"private": true,
4+
"version": "0.0.0",
5+
"type": "module",
6+
"scripts": {
7+
"dev": "vite",
8+
"build": "tsc && vite build",
9+
"preview": "vite preview",
10+
"tauri": "tauri"
11+
},
12+
"dependencies": {
13+
"@mantine/core": "^7.6.1",
14+
"@mantine/hooks": "^7.6.1",
15+
"@mantine/notifications": "^7.6.1",
16+
"@tabler/icons-react": "^2.47.0",
17+
"@tauri-apps/api": "^1",
18+
"kdbxweb": "^2.1.1",
19+
"react": "^18.2.0",
20+
"react-dom": "^18.2.0",
21+
"react-router-dom": "^6.23.1",
22+
"totp-generator": "^1.0.0",
23+
"vite-plugin-svgr": "^4.2.0",
24+
"whatwg-url": "^14.0.0"
25+
},
26+
"devDependencies": {
27+
"@tauri-apps/cli": "^1",
28+
"@types/node": "^20.14.2",
29+
"@types/react": "^18.2.15",
30+
"@types/react-dom": "^18.2.7",
31+
"@types/whatwg-url": "^11.0.5",
32+
"@vitejs/plugin-react": "^4.2.1",
33+
"postcss": "^8.4.38",
34+
"postcss-preset-mantine": "^1.15.0",
35+
"postcss-simple-vars": "^7.0.1",
36+
"typescript": "^5.0.2",
37+
"vite": "^5.0.0"
38+
}
39+
}

postcss.config.cjs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
module.exports = {
2+
plugins: {
3+
"postcss-preset-mantine": {},
4+
"postcss-simple-vars": {
5+
variables: {
6+
"mantine-breakpoint-xs": "36em",
7+
"mantine-breakpoint-sm": "48em",
8+
"mantine-breakpoint-md": "62em",
9+
"mantine-breakpoint-lg": "75em",
10+
"mantine-breakpoint-xl": "88em",
11+
},
12+
},
13+
},
14+
};

public/tauri.svg

Lines changed: 6 additions & 0 deletions
Loading

public/vite.svg

Lines changed: 1 addition & 0 deletions
Loading

src-tauri/.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Generated by Cargo
2+
# will have compiled files and executables
3+
/target/
4+
5+
# Generated by Tauri
6+
# will have schema files for capabilities auto-completion
7+
/gen/schemas

0 commit comments

Comments
 (0)