Files
tauri/examples/react/next.js
BenoitRanque cd85d681b7 Corrected example: Changed next build to next export (#200)
* 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>
2019-12-22 11:24:27 +01:00
..
2019-12-20 23:28:11 +01:00
2019-12-20 23:28:11 +01:00
2019-12-20 23:28:11 +01:00
2019-12-20 23:28:11 +01:00
2019-12-20 23:28:11 +01:00
2019-12-20 23:28:11 +01:00
2019-12-20 23:28:11 +01:00
2019-12-20 23:28:11 +01:00

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