All Projects → jkuri → angular-rollup-starter

jkuri / angular-rollup-starter

Licence: MIT License
Angular2 & Rollup.js including AoT and Universal Prerendering

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to angular-rollup-starter

Universal Nest
Nest + Angular Universal = ❤️ by @TrilonIO
Stars: ✭ 258 (+681.82%)
Mutual labels:  universal, prerender
Angular Universal Seed
Angular5 Universal Webpack Seed
Stars: ✭ 17 (-48.48%)
Mutual labels:  universal, prerender
Ngx Meta
Dynamic page title & meta tags utility for Angular (w/server-side rendering)
Stars: ✭ 331 (+903.03%)
Mutual labels:  universal, aot
Egeo
EGEO is the open-source UI library used to build Stratio's UI. It includes UI Components, Utilities, Services and much more to build user interfaces quickly and with ease. The library is distributed in AoT mode.
Stars: ✭ 69 (+109.09%)
Mutual labels:  rollup, aot
Localize Router
An implementation of routes localisation for Angular
Stars: ✭ 177 (+436.36%)
Mutual labels:  universal, aot
Universal
Seed project for Angular Universal apps featuring Server-Side Rendering (SSR), Webpack, CLI scaffolding, dev/prod modes, AoT compilation, HMR, SCSS compilation, lazy loading, config, cache, i18n, SEO, and TSLint/codelyzer
Stars: ✭ 669 (+1927.27%)
Mutual labels:  universal, aot
Usus
Webpage pre-rendering service. ⚡️
Stars: ✭ 804 (+2336.36%)
Mutual labels:  universal, prerender
Angular Webpack Starter
A complete Angular 6 and Webpack 4 starter seed with minimal and full featured branches. Full featured branch includes: Material Design 2 (Bootstrap 4 branch available as well), @ngrx, HMR, DLLs and optional use of Universal for server-side rendering - Supports AOT (offline) compilation, sync and lazy loading. Karma/Protractor for e2e/unit tests.
Stars: ✭ 911 (+2660.61%)
Mutual labels:  universal, aot
Ngx Cache
Cache utility for Angular
Stars: ✭ 144 (+336.36%)
Mutual labels:  universal, aot
Callapp Lib
🔥call app from h5(H5唤起客户端 )
Stars: ✭ 1,857 (+5527.27%)
Mutual labels:  universal, rollup
angular2-pokedex
A Pokedex built on Angular with AoT, Tree Shaking, Rollup and TypeScript
Stars: ✭ 34 (+3.03%)
Mutual labels:  rollup, aot
Angular Awesome List
Список ресурсов по Angular на русском
Stars: ✭ 224 (+578.79%)
Mutual labels:  universal, aot
angular-gulp-starter
Simple dev/prod build for Angular (2+) using gulp, systemjs, rollup, ngc (AOT), scss, Visual Studio
Stars: ✭ 18 (-45.45%)
Mutual labels:  rollup, aot
aot-loader
Load and pre-evaluate code at compile time
Stars: ✭ 16 (-51.52%)
Mutual labels:  aot
rollup-plugin-hoist-import-deps
A rollup plugin to speed up lazy loading
Stars: ✭ 64 (+93.94%)
Mutual labels:  rollup
r1cs-tutorial
Tutorial for writing constraints in the `arkworks` framework
Stars: ✭ 74 (+124.24%)
Mutual labels:  rollup
react-ssr-spa
Server side rendered single page app using reactjs official libraries.
Stars: ✭ 30 (-9.09%)
Mutual labels:  universal
rax-app
Rax App Framework
Stars: ✭ 89 (+169.7%)
Mutual labels:  universal
ts-llvm
TypeScript to LLVM compiler (abandoned)
Stars: ✭ 266 (+706.06%)
Mutual labels:  aot
unplugin-vue
✨ Transform Vue 3 SFC to JavaScript. Supports Vite, esbuild, Rollup and Webpack.
Stars: ✭ 38 (+15.15%)
Mutual labels:  rollup

Angular2 Rollup Seed

Build Status Build status

Angular2 starter seed based on Rollup. Production builds including AoT steps. Starter also comes with Universal support built-in.

Start

First, clone this repository.

git clone https://github.com/jkuri/angular-rollup-starter.git --depth 1

Move into cloned directory and run

npm install

Usage

Serve

npm start

Note Initial load takes some time so vendor files are generated. Then it runs like a charm with cached builds which happens to be really fast.

This serves your app with live-reload enabled.

Production Build

Production builds automatically includes AoT (Ahead of Time) compilation steps.

npm run roll

Universal (Isomorphic) Production Build

npm run roll:prerender

Routes stored in config.json as universalRoutes will be prerendered into dist/ directory. For example

{
  "externalPackages": { },
  "styles": ["css/app.css"],
  "universalRoutes": ["/", "/docs", "/docs/child"]
}

will generate prerendered content in dist/index.html dist/docs.html and dist/docs/child.html.

To properly serve prerendered content use below nginx configuration.

server {
  listen 80;
  server_name subdomain.example.com example.com;

  root /path/to/dist;

  location / {
    try_files $uri.html $uri $uri/ /index.html;
  }
}

Licence

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].