No description
| lib | ||
| src-tauri | ||
| src-vue | ||
| .gitignore | ||
| build-signed.sh | ||
| build.js | ||
| clone.sh | ||
| keygen.sh | ||
| package.json | ||
| README.md | ||
| start.js | ||
| yarn.lock | ||
template-tauri1-vue3-vite3
Opinionated Tauri 1.x + Vue 3.x + Vite 3.x template
Specs
- Developer-friendly
- Includes automatically opening Vue DevTools
- Includes destyle.css
- Cross-platform
start&buildscripts- builds
- Fully dark app
- Includes additional methods
executewrapsCommand.executewith the OS default interpreter, allowing to run any commandexistsis like Node'sfs.existsSync, but returns aPromisegetPathSeparatoris like Node'spath.sep, but as a function returning aPromise
Installation
Automated
curl -s https://git.kaki87.net/KaKi87/template-tauri1-vue3-vite3/raw/branch/master/clone.sh | bash -s hello-world
Manual
Clone existing repo & create new repo :
git clone https://git.kaki87.net/KaKi87/template-tauri1-vue3-vite3.git hello-world
cd hello-world
rm -r .git
git init
git add .
git commit -m ":tada: Initial commit"
Install dependencies : yarn install
Usage
Start development server using yarn start
(outputs temporary files in dist & src-tauri/target/debug)
Create production build using yarn build
(outputs production file in src-tauri/target/release)
Create signed builds using yarn build-signed after using yarn keygen once
(requires jq)
Keep Tauri dependencies up to date using yarn upgrade-tauri
Develop everything inside src-tauri & src-vue
