chip e02c9419cb refactor(tauri): support for building without environmental variables (#850) 4 năm trước cách đây
..
dist 99ecf7bb3e feat(tauri): use WRY as webview engine (#1190) 4 năm trước cách đây
src-tauri e02c9419cb refactor(tauri): support for building without environmental variables (#850) 4 năm trước cách đây
README.md 0f52af6c8f chore(example) add README, closes #635 (#689) 5 năm trước cách đây
package.json 555d667f45 feat(examples) add example using the TS API module (rollup) (#738) 4 năm trước cách đây
screenshot.png 0f52af6c8f chore(example) add README, closes #635 (#689) 5 năm trước cách đây
yarn.lock cc35bb999d chore(deps): bump ini from 1.3.5 to 1.3.8 in /tauri/examples/communication (#1115) 4 năm trước cách đây

README.md

Communication example

This example demonstrates Tauri's API capabilities. It's used as the main validation app, serving as the testbed of our development process. In the future, this app will be used on Tauri's integration tests.

App screenshot

Running the example

  • Install dependencies

    # with yarn
    $ yarn
    # with npm
    $ npm install
    
  • Compile the app

    # with yarn
    $ yarn build
    # with npm
    $ npm run build
    # alternatively, if you setup the environment variables, you can build it without Node.js:
    $ cd ../../..
    $ . .scripts/init_env.sh
    $ cd ./tauri/examples/communication
    $ cargo build --features no-server
    
  • Run the app

    $ ./src-tauri/target/release/app