Files
tauri/examples/react/next.js
Lucas Fernandes Nogueira a4e229ca10 feat(tauri) use config as JSON (#214)
* feat(tauri.js): move to typescript

* fix(tauri.js): properly export api as commonjs

* feat(tauri.js): convert tauricon to typescript

* fix(tauri.js/tauricon): type error

* chore(tauri.js/package): update yarn.lock

* chore(tauri.js/package): add build/pretest scripts

* refactor(tauri.js/template): remove duplicate types

* feat(tauri.js): use tauri.conf.json instead of .js

* feat(tauri) read config using tauri.conf.json

* fix(tauri) read devPath index.html from distDir

* chore(examples) move to conf.json

* chore(tauri.js) remove todo

* fix(ci) TAURI_DIR env variable

* fix(examples) move svelte-app config to tauri.conf.json

* fix(examples): line endings tauri.conf.json

* addition to previous commit

* fix(test): EOF in tauri.conf.json

Co-authored-by: Noah Klayman <noahklayman@gmail.com>
Co-authored-by: nothingismagick <drthompsonsmagickindustries@gmail.com>
2019-12-26 15:24:36 +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
tauri build