A template for a vanilla(no ui-framework) project with webgi engine in typescript using parcel bundler.
About webgi: https://webgi.xyz/
First install the dependencies:
npm install
To run the project in development mode:
npm run dev
Then navigate to http://localhost:5173/index.html in a web browser to see the default scene in a viewer.
The assets are stored in the assets
directory.
To build the project for production:
npm run build
Check the webgi manual for the latest version. To use the different version:
- Update the version number in
package.json
file for bothwebgi
and@types/webgi
. - Run
npm install
to update the dependencies. - Run
npm run dev
ornpm run build
to run or build the project.
For the latest version and documentation: WebGi Docs.
For license and terms of use, see the SDK License.