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