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