Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 1.14 KB

Readme.md

File metadata and controls

37 lines (29 loc) · 1.14 KB

WebGi starter project

A template for a vanilla(no ui-framework) project with webgi engine in typescript using parcel bundler.

About webgi: https://webgi.xyz/

Running

First install the dependencies:

npm install

To run the project in development mode:

npm start

Then navigate to http://localhost:1234/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

Updates

Check the webgi manual for the latest version. To use the different version:

  • Update the version number in package.json file for both webgi and @types/webgi.
  • Run npm install to update the dependencies.
  • Delete .cache folder created by parcel bundler: rm -rf .cache
  • Run npm start or npm run build to run or build the project.

Documentation

For the latest version and documentation: WebGi Docs.

License

For license and terms of use, see the SDK License.