2016-05-24 10:19:14 +01:00
..
2016-05-23 14:17:21 +01:00
2016-05-23 11:58:11 +01:00
2016-04-19 11:57:05 +01:00
2016-04-19 14:57:31 +01:00
2016-05-24 10:19:14 +01:00
2016-04-22 22:48:14 +01:00
2016-05-23 18:30:45 +01:00
2016-05-19 13:19:37 +01:00
2016-04-27 10:05:21 +01:00
2016-04-06 14:35:46 +01:00
2016-05-17 16:54:31 +01:00

Alfresco Angular 2 Components

alfresco angular2

style

Prerequisites

Docker machine with latest platform-distribution:api-latest image.

docker login dockerreg.alfresco.com
docker pull dockerreg.alfresco.com/platform-distribution:api-latest
docker-compose up

Note: for complete installation on Windows please review the instructions here: Windows installation

to clean up afterwards

docker-compose rm

Building and running steps:

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