Download the the /gltf
folder from vi-sense/sample-data
repository and add it to /public
directory.
$ npm install
$ npm run start
$ npm run build
export class App {
#someVariableName;
constructor() { ... }
}
#someVariableName
is a private member variable. The # can also be used to declare a private function.
All static files (images, models, ...) belong to /public
. When loading you need to use the absolute path without /public
prefix.