juliasut / drill-webgi-tutorial

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About


Languages

Language:TypeScript 54.0%Language:CSS 27.7%Language:HTML 18.3%