Closed kelvinsinsua closed 7 years ago
`import { enableProdMode } from '@angular/core'; import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; import 'materialize-css'; //the error start here import 'angular2-materialize';
import { AppModule } from './app.module';
declare var ENV: string;
if (ENV === 'production') { enableProdMode(); }
platformBrowserDynamic().bootstrapModule(AppModule);`
Hi, i installed the project to begin the development with angular2. i wish create a project started with this "template" but i have a problem in systemjs.config.js, i need install agular2-materialize and materialize-css but in systemjs.config.js i have a error when i run npm start or npm run build.
my systemjs.config.js
`/*
*/
(function(global) { // ENV global.ENV = global.ENV || 'development';
})(this); `
please if you know the correct config help me.