Denys Vuika ab891ff5c2 Merge branch 'development' into dev-denys-440
# Conflicts:
#	.travis.yml
#	demo-shell-ng2/app/app.component.html
#	demo-shell-ng2/app/app.component.ts
#	demo-shell-ng2/package.json
#	demo-shell-ng2/systemjs.config.js
2016-07-22 09:59:44 +01:00
..
2016-06-07 15:56:22 +01:00
2016-05-31 14:42:11 +01:00
2016-07-06 10:40:35 +01:00
2016-06-03 17:46:29 +01:00
2016-07-13 00:30:33 +01:00
2016-04-22 22:48:14 +01:00
2016-06-30 00:31:49 +01:00
2016-05-26 11:46:24 +01:00
2016-06-30 11:46:37 +02:00

Alfresco Angular 2 Components

alfresco angular2

style

Node

To correctly use this demo check that on your machine is running Node version 5.0.0 or higher.

Local build

1 Install dependencies

npm install

2 Fast build and watch for dev purposes

npm start

start script also includes live reload and watchers for all the .ts files. TypeScript watchers are also configured for node_modules folder within demo shell and provide live reload for all the component libraries as well.

###Multi-language To support a new language you need to create your language file (.json) and add it to i18n/ folder.

{
        "username" : "Username",
        "input-required-message": "Required",
        "input-min-message": "Your username needs to be at least 4 characters.",
        "login-button": "Login"
}

Directory structure:

.
├── i18n/
│   ├── en.json
│   ├── it.json
│   └── fr.json