Be sure you have installed all of the prerequisites for running a Tauri project. You can find them here.
If you're using npm
to run scripts, be sure to change the values of the beforeBuildCommand
and beforeDevCommand
fields in tauri.conf.json
to npm run build
and npm run dev
, respectively.
Once you've cloned the template and installed dependencies with yarn
or npm install
, start a development server:
yarn tauri dev
# or with npm
npm run tauri dev
To create a production version of your app:
yarn tauri build
# or with npm
npm run tauri build