Skip to content

Commit

Permalink
docs(stories): updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
xmlking committed Aug 31, 2019
1 parent 39c2f0c commit a23e35d
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Editor configuration, see http://editorconfig.org
# Editor configuration, see https://editorconfig.org
root = true

[*]
Expand Down
5 changes: 3 additions & 2 deletions PLAYBOOK.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,14 @@ bazel clean --expunge
```bash
yarn global remove lerna
yarn global remove @angular/cli
yarn global remove @nrwl/workspace
yarn global remove @nrwl/cli
yarn global remove @nestjs/cli
yarn global remove semantic-release-cli
yarn global remove commitizen

yarn global add lerna
yarn global add @angular/cli@next
yarn global add @nrwl/workspace@next
yarn global add @nrwl/cli@next
yarn global add @nestjs/cli
yarn global add semantic-release-cli
yarn global add commitizen
Expand Down Expand Up @@ -131,6 +131,7 @@ for nx help `yarn run help`
```bash
# create workspace Ref: https://nx.dev/tutorial/01-create-application
yarn create nx-workspace ngx-starter-kit --npm-scope=ngx-starter-kit --preset=empty --style=scss --skipInstall
yarn create nx-workspace myworkspace --npm-scope=ngx-starter-kit
# or
ng new ngx-starter-kit --collection=@nrwl/workspace --npm-scope=ngx-starter-kit --preset=empty --style=scss --verbose
# or if you want *bazel* builds instead of *webpack*
Expand Down
2 changes: 1 addition & 1 deletion apps/webapp/browserslist
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
last 2 versions
Firefox ESR
not dead
# not IE 9-11 # For IE 9-11 support, remove 'not'.
not IE 9-11 # For IE 9-11 support, remove 'not'.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!-- FIRST ROW -->
<div fxFlex="noshrink" fxLayout="column" [fxLayoutGap]="gap" fxLayout.gt-lg="row">
<div fxLayout="column" [fxLayoutGap]="gap" [fxFlex]="col(2)" fxLayout.gt-sm="row">
<div ngxAspectRatio="2:1" ngxAspectRatio.sm="3:1" fxFlex="auto" [fxFlex.gt-sm]="col(4)">
<div ngxAspectRatio="2:1" ngxAspectRatio.sm="3:1" fxFlex="auto" fxFlex.gt-sm="col(4)">
<ngx-bar-chart-widget
ngxAspectRatioContent
class="widget"
Expand All @@ -11,7 +11,7 @@
></ngx-bar-chart-widget>
</div>

<div ngxAspectRatio="2:1" ngxAspectRatio.sm="3:1" fxFlex="auto" [fxFlex.gt-sm]="col(4)">
<div ngxAspectRatio="2:1" ngxAspectRatio.sm="3:1" fxFlex="auto" fxFlex.gt-sm="col(4)">
<ngx-line-chart-widget
ngxAspectRatioContent
class="widget"
Expand All @@ -22,15 +22,15 @@
</div>

<div fxLayout="column" [fxLayoutGap]="gap" [fxFlex]="col(2)" fxLayout.gt-sm="row">
<div ngxAspectRatio="2:1" ngxAspectRatio.sm="3:1" fxFlex="auto" [fxFlex.gt-sm]="col(4)">
<div ngxAspectRatio="2:1" ngxAspectRatio.sm="3:1" fxFlex="auto" fxFlex.gt-sm="col(4)">
<ngx-line-chart-widget
ngxAspectRatioContent
[data]="clicksData$ | async"
[options]="totalClicksOptions"
></ngx-line-chart-widget>
</div>

<div ngxAspectRatio="2:1" ngxAspectRatio.sm="3:1" fxFlex="auto" [fxFlex.gt-sm]="col(4)">
<div ngxAspectRatio="2:1" ngxAspectRatio.sm="3:1" fxFlex="auto" fxFlex.gt-sm="col(4)">
<ngx-line-chart-widget
ngxAspectRatioContent
[data]="conversionsData$ | async"
Expand Down
13 changes: 9 additions & 4 deletions stories/awesome.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,23 +105,28 @@ A curated list of awesome Angular resources
> Read [Microinteractions: small details matter](https://uxdesign.cc/microinteractions-detailed-design-9113c88946d0)
- UI Kits

1. [Material](https://material.angular.io/)
2. [Nebular](https://akveo.github.io/nebular/)
3. [Clarity](https://clarity.design/)

* Animations
- Curated collection of useful Angular snippets that you can understand in 30 seconds or less.

> Read [30-seconds-of-angular](https://github.com/30-seconds/30-seconds-of-angular)
- Animations

> Read [Hierarchical Route Animations](https://fluin.io/blog/hierarchical-route-animations)
* Why I Prefer NGXS over NGRX
- Why I Prefer NGXS over NGRX

> Read [NGXS vs NGRX](https://blog.singular.uk/why-i-prefer-ngxs-over-ngrx-df727cd868b5?gi=405262c5a9c5)
* How to preload modules?
- How to preload modules?

> Read Angular Router: [Preloading Modules](https://vsavkin.com/angular-router-preloading-modules-ba3c75e424cb)
* How to debug router?
- How to debug router?

> `{ enableTracing: true }`
> Read [debugging router](https://dzone.com/articles/note-to-self-debugging-angular-4-routing)
Expand Down
9 changes: 5 additions & 4 deletions tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@
"array-type": false,
"arrow-parens": false,
"deprecation": {
"severity": "warn"
"severity": "warning"
},
"component-class-suffix": true,
"contextual-lifecycle": true,
"directive-class-suffix": true,
"import-blacklist": [true, "rxjs/Rx"],
"interface-name": false,
"max-classes-per-file": false,
Expand All @@ -25,15 +28,13 @@
"no-non-null-assertion": true,
"no-redundant-jsdoc": true,
"no-switch-case-fall-through": true,
"no-use-before-declare": true,
"no-var-requires": false,
"object-literal-key-quotes": [true, "as-needed"],
"object-literal-sort-keys": false,
"ordered-imports": false,
"quotemark": [true, "single"],
"trailing-comma": false,
"component-class-suffix": true,
"contextual-lifecycle": true,
"directive-class-suffix": true,
"no-conflicting-lifecycle": true,
"no-host-metadata-property": true,
"no-input-rename": true,
Expand Down

0 comments on commit a23e35d

Please sign in to comment.