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

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