Skip to content

remarkablemark/tauri-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

34 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Tauri Template

Tauri Template

build

πŸ”— Template to develop with Tauri in vanilla HTML, CSS and TypeScript.

Prerequisites

Install Rust:

brew install rust

Install Node.js:

brew install node

Install

Clone the repository:

git clone https://github.com/remarkablemark/tauri-template.git
cd tauri-template

Install the dependencies:

npm install

Rename the project:

git grep -l tauri-template | xargs sed -i '' -e 's/tauri-template/my-app/g'
git grep -l 'tauri_template' | xargs sed -i '' -e 's/tauri_template/my_app/g'
git grep -l 'Tauri Template' | xargs sed -i '' -e 's/Tauri Template/My App/g'

Set the version:

git grep -l '"1.0.0"' | xargs sed -i '' -e 's/"1.0.0"/"1.2.3"/g'

Add app-icon.png and generate icons:

npx tauri icon

Update the files:

  • src-tauri/Cargo.toml
  • src-tauri/icons/
  • src-tauri/tauri.conf.json

Available Scripts

In the project directory, you can run:

npm run dev

Runs the app for development.

npm run build

Builds the app for production.

IDE

Recommended IDE setup:

License

MIT

About

πŸ”— Tauri app template

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •