GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Using Angular CLI
This repository was archived by the owner on Jan 6, 2025. It is now read-only.
Using Angular CLI
CaerusKaru edited this page
Using Flex-Layout with the the Angular CLI is easy. # Global
npm uninstall -g @angular/cli
npm install -g @angular/cling new my-project rm -rf node_modules/ npm install The new command creates a project with a build system for your Angular app. npm install @angular/flex-layout @angular/cdk --save
npm install angular/flex-layout-builds angular/cdk-builds --save
src/app/app.module.ts import {NgModule} from '@angular/core'; import {FlexLayoutModule} from '@angular/flex-layout'; // other imports @NgModule({ imports: [FlexLayoutModule], ... }) export class PizzaPartyAppModule {} If your project is using SystemJS for module loading, you will need to add System.config({ // existing configuration options map: { ..., '@angular/flex-layout': 'npm:@angular/flex-layout-builds/bundles/flex-layout.umd.js' '@angular/cdk': 'npm:@angular/cdk-builds/bundles/cdk.umd.js' } }); Developers are encouraged to review the live demos and source for the Flex-Layout Demos:
Clone this wiki locally |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |