mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
Fix readme files
This commit is contained in:
parent
d9e81a40a7
commit
aaf4828d89
@ -6,12 +6,15 @@ Install:
|
|||||||
npm install
|
npm install
|
||||||
```
|
```
|
||||||
|
|
||||||
Set authentication token value in the `index.html`
|
Update host and credentials
|
||||||
|
|
||||||
```html
|
**src/main.ts**
|
||||||
<script>
|
```ts
|
||||||
localStorage.setItem('token', '<AUTH-TOKEN>');
|
login() {
|
||||||
</script>
|
let host = 'http://192.168.99.100:8080';
|
||||||
|
let credentials = { "userId": "admin", "password": "admin" };
|
||||||
|
...
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Run the project:
|
Run the project:
|
||||||
|
@ -6,17 +6,6 @@ Install:
|
|||||||
npm install
|
npm install
|
||||||
```
|
```
|
||||||
|
|
||||||
Update host and credentials
|
|
||||||
|
|
||||||
**src/main.ts**
|
|
||||||
```ts
|
|
||||||
login() {
|
|
||||||
let host = 'http://192.168.99.100:8080';
|
|
||||||
let credentials = { "userId": "admin", "password": "admin" };
|
|
||||||
...
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
Run the project:
|
Run the project:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user