Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 588 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 588 Bytes

Angular-CLI-Aframe

The actions above are already implemented inside the project, feel free to clone and install dependencies.

npm i
ng serve 

1. Edit Polyfills.ts

import 'aframe';

Note: current line should be inserted before import 'zone.js/dist/zone';


2. Modify app.module.ts with CUSTOM_ELEMENTS_SCHEMA

import { ...CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';

@NgModule({
  imports: [ ... ],
  declarations: [ AppComponent ],
  bootstrap: [ AppComponent ],
  schemas: [ CUSTOM_ELEMENTS_SCHEMA ]
})