Skip to content

Commit

Permalink
switching to svelte, closes #143
Browse files Browse the repository at this point in the history
  • Loading branch information
almibe committed Jul 6, 2023
1 parent 06aede1 commit 63de2a6
Show file tree
Hide file tree
Showing 18 changed files with 1,080 additions and 690 deletions.
6 changes: 5 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
{
"recommendations": ["tauri-apps.tauri-vscode", "rust-lang.rust-analyzer"]
"recommendations": [
"tauri-apps.tauri-vscode",
"rust-lang.rust-analyzer",
"svelte.svelte-vscode"
]
}
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"svelte.enable-ts-plugin": true
}
363 changes: 363 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# Tauri + Solid + Typescript
# Ligature Desktop

This template should help get you started developing with Tauri, Solid and Typescript in Vite.
## To Run

## Recommended IDE Setup
Currently this application requires an instance of Ligature server running.
See instructions here.

To run this application in dev mode.

`pnpm tauri dev`

- [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)
15 changes: 6 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<link rel="icon" type="image/svg+xml" href="/src/assets/logo.svg" />
<title>Tauri + Solid + Typescript App</title>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Ligature Desktop</title>
</head>

<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>

<script src="/src/index.tsx" type="module"></script>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>
16 changes: 10 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,28 @@
{
"name": "ligature-desktop",
"private": true,
"version": "0.0.0",
"description": "",
"type": "module",
"scripts": {
"start": "vite",
"dev": "vite",
"build": "vite build",
"serve": "vite preview",
"preview": "vite preview",
"check": "svelte-check --tsconfig ./tsconfig.json",
"tauri": "tauri"
},
"license": "MIT",
"dependencies": {
"solid-js": "^1.7.0",
"@tauri-apps/api": "^1.4.0"
},
"devDependencies": {
"@types/node": "^18.7.10",
"@sveltejs/vite-plugin-svelte": "^2.0.0",
"@tsconfig/svelte": "^3.0.0",
"svelte": "^3.54.0",
"svelte-check": "^3.0.0",
"svelte-preprocess": "^5.0.0",
"tslib": "^2.4.1",
"typescript": "^4.9.5",
"vite": "^4.2.1",
"vite-plugin-solid": "^2.5.0",
"@tauri-apps/cli": "^1.4.0"
}
}
Loading

0 comments on commit 63de2a6

Please sign in to comment.