mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-01 10:01:07 +02:00
* Changed next build to next export Propper comand to export a static site is next export. See [here](https://nextjs.org/docs#usage) * Corrected build command per suggestion Both next build && next export are needed Co-Authored-By: Jacob Bolda <me@jacobbolda.com> Co-authored-by: Jacob Bolda <me@jacobbolda.com>
Running Example
Ensure you have setup and installed all the project dependencies.
npm install -g tauri
git clone https://github.com/tauri-apps/tauri
cd examples/react/next.js
yarn
cargo install tauri-cli
Development
yarn dev & tauri dev
Production
yarn build
yarn next export
tauri build