Skip to content

claboran/showcase-ng6-style

Repository files navigation

ShowcaseNg6Style

The project is supposed to show options of how to build a Component Library based on the feature set of Angular 6+. In particular having a Global SCSS Style delivered with your library.

This project was generated with Angular CLI version 6.0.8.

Setup

The setup has been based on:

and not to forget a quite interesting post about how to combine Angular 6+ workspace / libraries with Global Styles

Compiling css in new Angular 6 libraries

Rollup.js Namespace problem

A known problem with rollup.js when using libraries like moment.js or interact.js is:

Cannot call a namespace ('moment')

could be solved by changing the import:

import * as moment_ from 'moment';

const moment: any = (moment_).default || moment_;

About

Angular 6+ Component Library with Global CSS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published