|
||
---|---|---|
lib | ||
src-tauri | ||
src-vue | ||
.gitignore | ||
README.md | ||
build-signed.sh | ||
build.js | ||
clone.sh | ||
keygen.sh | ||
package.json | ||
start.js | ||
yarn.lock |
README.md
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
&build
scripts- builds
- Fully dark app
- Includes additional methods
execute
wrapsCommand.execute
with the OS default interpreter, allowing to run any commandexists
is like Node'sfs.existsSync
, but returns aPromise
getPathSeparator
is 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