Skip to content

bogdancar/angular4-universal-semanticui-demo

Repository files navigation

angular4-universal-semanticui-demo

This is a demo app for integration of semantic-ui into an universal angular 4 app (server rendered).

The demo is built on the angular 4 universal boilerplate from https://github.com/ng-seed/universal

Usage

Clone the repository at https://github.com/bogdancar/angular4-universal-semanticui-demo

Run yarn or npm install on the folder.

Build the app with npm run build:universal-dev

Run with npm run serve

Go to your browser on the About page to see the result http://localhost:8000/about

Build Status

ng-seed/universal

Please support this project by simply putting a Github star. Share this library with friends on Twitter and everywhere else you can.

ng-seed/spa is a seed project for Angular Universal apps following the common patterns and best practices in file and application organization, providing the following features:

Built with @angular v4.2.0, bundled with gulp v4.0 and webpack v3.0.0.

You can find the live app here.

Prerequisites

Packages in this seed project depend on @angular v4.0.0. Older versions contain outdated dependencies, might produce errors.

Also, please ensure that you are using Typescript v2.1.6 or higher.

Installing

# clone the repo
git clone https://github.com/ng-seed/universal.git
cd universal

# use npm (or yarn) to install the dependencies
npm install

# dev build (SPA / lean Angular)
npm run build:spa-dev
# prod build (SPA / lean Angular)
npm run build:spa-prod

# start the server (SPA / lean Angular)
npm run serve:spa
# start the server (SPA / lean Angular, with HMR support)
npm run serve:spa-hmr

# dev build (Universal)
npm run build:universal-dev
# prod build (Universal)
npm run build:universal-prod

# start the server (Angular Universal)
npm run serve

Navigate to http://localhost:1337 for lean Angular (client-side rendering) and http://localhost:8000 for Angular Universal (server-side rendering) in your browser.

License

The MIT License (MIT)

Copyright (c) 2017 Burak Tasci

About

Simple implementation of semantic-ui into an angular 4 universal server rendered app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published