Skip to content

Commit 4b84bd3

Browse files
committed
tauri: import the vuejs template
1 parent aea70b4 commit 4b84bd3

38 files changed

+4796
-0
lines changed

.gitignore

+24
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?

Makefile

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
.PHONY: run
2+
run: node_modules
3+
npm run tauri dev
4+
5+
.PHONY: build
6+
build: node_modules
7+
npm run tauri build
8+
9+
node_modules:
10+
npm ci
11+
12+
.PHONY: lint
13+
lint: node_modules
14+
cd src-tauri && cargo fmt --check
15+
npm run lint
16+
17+
.PHONY: format
18+
format: node_modules
19+
cd src-tauri && cargo fmt
20+
npm run lint:fix
21+
22+
.PHONY: clean
23+
clean:
24+
rm -rf node_modules
25+
rm -rf dist
26+
rm -rf src-tauri/target

index.html

+14
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 + Vue + TS</title>
8+
</head>
9+
10+
<body>
11+
<div id="app"></div>
12+
<script type="module" src="/src/main.ts"></script>
13+
</body>
14+
</html>

0 commit comments

Comments
 (0)