Installation
Angular Three provides an ng-add
schematic to set up angular-three
and its dependencies.
1ng add angular-three
- Install
angular-three
as a dependency
1npm install angular-three2# yarn add angular-three3# pnpm add angular-three
- Run the
init
generator to set upangular-three
and its dependencies.
1nx generate angular-three:init
- Install
angular-three
and its dependencies.
1npm install angular-three three ngxtension2# yarn add angular-three three ngxtension3# pnpm add angular-three three ngxtension
- Install
@types/three
as a development dependency.
1npm install --save-dev @types/three2# yarn add --dev @types/three3# pnpm add --dev @types/three
- Turn on
skipLibCheck
intsconfig.json
file (if haven’t already)
1{2 "compilerOptions": {3 "skipLibCheck": true4 }5}