Lucas Fernandes Nogueira a6bb3b5905 refactor(tauri) rename `whitelist` to `allowlist`, ref #645 (#858) 5 年 前
..
dist cd5b401707 feature: import official webview rust binding (#846) 5 年 前
src-tauri a6bb3b5905 refactor(tauri) rename `whitelist` to `allowlist`, ref #645 (#858) 5 年 前
README.md 0f52af6c8f chore(example) add README, closes #635 (#689) 5 年 前
package.json 0f52af6c8f chore(example) add README, closes #635 (#689) 5 年 前
screenshot.png 0f52af6c8f chore(example) add README, closes #635 (#689) 5 年 前
yarn.lock 031d5fdafe chore(deps): bump lodash from 4.17.15 to 4.17.19 in /tauri/examples/communication (#838) 5 年 前

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