You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
2 months ago | |
---|---|---|
lib | 6 months ago | |
src-tauri | 2 months ago | |
src-vue | 6 months ago | |
.gitignore | 3 months ago | |
README.md | 2 months ago | |
build-signed.sh | 2 months ago | |
build.js | 6 months ago | |
clone.sh | 6 months ago | |
keygen.sh | 3 months ago | |
package.json | 2 months ago | |
start.js | 6 months ago | |
yarn.lock | 3 months ago |
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