angular2-universal-microsite-preview

A project generator for angular2 microsites using universal

Usage no npm install needed!

<script type="module">
  import angular2UniversalMicrositePreview from 'https://cdn.skypack.dev/angular2-universal-microsite-preview';
</script>

README

Angular2 Universal Microsite (preview)

Use this CLI tool to scaffold a microsite project with Angular2 Universal support.

Install

npm i -g angular2-universal-microsite-preview

Usage

  1. Generate a new project
$ ngu new awesome-app
$ cd awesome-app
  1. Generate a new document file
$ ngu generate home
  1. Start a local dev server
$ ngu serve

What's working?

  • Scaffolding project (with options such as --skipNpm)
  • Generating *.md inside ./md (see nguconfig.json)
  • Serving a local dev server
  • Using a configfile nguconfig.json
  • Generating routes from file.md
  • Using configfile in app (overriding css, title...)
  • Loading *.md files in app (documentation)