Skip to content

Commit

Permalink
fix logout service, remove docs folder, update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Arvaim committed Dec 20, 2018
1 parent fcf13cb commit 85642da
Show file tree
Hide file tree
Showing 18 changed files with 7 additions and 4,330 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@

This repository contains Speak 3 components. You can contribute and more components, styles, custom components.


This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.2.7.

## Development server

Run `npm run start` for a disconnected mode. Navigate to `http://localhost:4123/`. The app will automatically reload if you change any of the source files.

## Code scaffolding
## Run within Sitecore

Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
1. Run `npm run build` command.
2. Copy `dist` folder's content to your c:\{sitecoreRoot}\sitecore\shell\client\applications\startertemplate folder
3. Open your sitecore instance on http://{sitecoreHost}/sitecore/shell/client/applications/startertemplate

## Screenshots

Expand Down
Empty file removed docs/3rdpartylicenses.txt
Empty file.
Binary file removed docs/favicon.ico
Binary file not shown.
1 change: 0 additions & 1 deletion docs/index.html

This file was deleted.

1 change: 0 additions & 1 deletion docs/inline.d742c6bfc6f4852b3dce.bundle.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/main.269bc6ab1867c82813d6.bundle.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/polyfills.edf16b8ffdc5ebfdf216.bundle.js

This file was deleted.

1,321 changes: 0 additions & 1,321 deletions docs/sitecore/shell/Themes/Speak/fonts/SitecoreIcons.svg

This file was deleted.

Binary file not shown.
Binary file not shown.
2,987 changes: 0 additions & 2,987 deletions docs/sitecore/shell/Themes/Speak/fonts/SitecoreIconsColored.svg

This file was deleted.

Binary file not shown.
Binary file not shown.
3 changes: 0 additions & 3 deletions docs/sitecore/shell/Themes/Speak/sitecore-icons.css

This file was deleted.

8 changes: 0 additions & 8 deletions docs/styles.8722e91a542477c6be72.bundle.css

This file was deleted.

1 change: 0 additions & 1 deletion docs/vendor.583ce736b81a77eaa1a7.bundle.js

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"ng": "ng",
"start": "npm run start:disconnected",
"start:disconnected": "ng serve --proxy-config disconnected-mode.conf.js",
"build": "ng build --prod --base-href=/",
"build": "ng build --prod --base-href=/sitecore/shell/client/Applications/UILibrary/",
"postbuild": "ng-sc --entry ./dist/index.html && sc-license-checker",
"test": "ng test",
"lint": "ng lint",
Expand Down
4 changes: 2 additions & 2 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ import { SciLogoutService } from '@speak/ng-sc/logout';
})
export class AppComponent implements OnInit {
isNavigationShown : boolean;
logoutService: SciLogoutService;
isActive:boolean;
constructor(
private ngScService: NgScService
private ngScService: NgScService,
public logoutService: SciLogoutService
) { }

ngOnInit() {
Expand Down

0 comments on commit 85642da

Please sign in to comment.