Skip to content

Tutorial

winily edited this page Nov 1, 2022 · 1 revision

Get started

At present, this project only supports MacOS, and other platforms have not yet been adapted By default, this project has the following development environments: clang5.0+ (supports C++ 17), cmake 3.0+, wget, git

1. Pull the repository

First, pull this warehouse to the local

git clone https://github.com/winily/universal-webview.git

2. Install dependencies

The script for installing dependencies is in scripts/install_dependencies.sh, just execute it in the code root directory and wait for the installation

sh ./scripts/install_dependencies.sh

wait for a while, the final output

------------------ Compilation complete ------------------

3. Run

Finally, executing the scripts/test.sh script will start a sample program

sh ./scripts/test.sh

In the resource is a Hello World example I wrote using react

Clone this wiki locally