Lucas Fernandes Nogueira 0f52af6c8f chore(example) add README, closes #635 (#689) 5 年之前
..
dist d3c53ebf30 feat(tauri) make Config globally available (#681) 5 年之前
src-tauri d3c53ebf30 feat(tauri) make Config globally available (#681) 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 0f52af6c8f chore(example) add README, closes #635 (#689) 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