Go to file
KaKi87 372d003ecb 📝 Update 11ad174 2022-12-01 16:10:40 +01:00
lib Add 'getPathSeparator' & 'exists' methods 2022-08-06 14:07:43 +02:00
src-tauri 🔧 As per KaKi87/tauri-update-server@96c1f69 2022-11-26 21:21:35 +01:00
src-vue Add Vue DevTools integration 2022-08-07 17:35:17 +02:00
.gitignore 🔧 Enable updater 2022-10-30 21:22:18 +01:00
README.md 📝 Update 11ad174 2022-12-01 16:10:40 +01:00
build-signed.sh 🔧 As per KaKi87/scraper-instagram-gui-desktop@b31bd6d 2022-11-26 21:22:31 +01:00
build.js 🔨 Add build script 2022-08-07 20:43:10 +02:00
clone.sh 📝 Add README 2022-08-07 21:04:13 +02:00
keygen.sh 🔧 Enable updater 2022-10-30 21:22:18 +01:00
package.json 🔧 As per KaKi87/scraper-instagram-gui-desktop@b31bd6d 2022-11-26 21:22:31 +01:00
start.js ♻️ Refactor 2b6a23b 2022-08-07 19:20:38 +02:00
yarn.lock ⬆️ Upgrade Tauri dependencies 2022-10-30 16:16:47 +01:00

README.md

template-tauri1-vue3-vite3

Opinionated Tauri 1.x + Vue 3.x + Vite 3.x template

Specs

  • Developer-friendly
  • Cross-platform
    • start & build scripts
    • builds
  • Fully dark app
  • Includes additional methods
    • execute wraps Command.execute with the OS default interpreter, allowing to run any command
    • exists is like Node's fs.existsSync, but returns a Promise
    • getPathSeparator is like Node's path.sep, but as a function returning a Promise

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