Jacob Bolda 6424b00ca7 feat: build tauri communication app on demand (#1001) 5 năm trước cách đây
..
dist cd5b401707 feature: import official webview rust binding (#846) 5 năm trước cách đây
src-tauri a6bb3b5905 refactor(tauri) rename `whitelist` to `allowlist`, ref #645 (#858) 5 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 6424b00ca7 feat: build tauri communication app on demand (#1001) 5 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 031d5fdafe chore(deps): bump lodash from 4.17.15 to 4.17.19 in /tauri/examples/communication (#838) 5 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