JohnnyDevNull / ng-three-template

This is a basic template project to start with Angular 17.x and ThreeJS
MIT License
228 stars 71 forks source link
angular threejs webgl

ng-three-template

This project was generated with Angular CLI and is designed as a basic template for ThreeJS combined with Angular and Bootstrap in Version 5.x

The project is setup to use global SCSS only with ViewEncapsulation.None and ChangeDetectionStrategy.OnPush.

Feel free to do anything you want with this template.

Three Links

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests.

Note: You have to choose and install your test runner you wish to use first.
A good decision could be the Jest runner from @angular-builders/jest

Running end-to-end tests

Choose your favorite e2e testing framework
Recommendation: Cypress Angular Schematic.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.