Installation
Angular Three provides an ng-add schematic to set up angular-three and its dependencies.
ng add angular-three- Install
angular-threeas a dependency
npm install angular-three# yarn add angular-three# pnpm add angular-three- Run the
initgenerator to set upangular-threeand its dependencies.
nx generate angular-three:init- Install
angular-threeand its dependencies.
npm install angular-three three ngxtension# yarn add angular-three three ngxtension# pnpm add angular-three three ngxtension- Install
@types/threeas a development dependency.
npm install --save-dev @types/three# yarn add --dev @types/three# pnpm add --dev @types/three- Turn on
skipLibCheckintsconfig.jsonfile (if haven’t already)
{ "compilerOptions": { "skipLibCheck": true }}