hashidev.dashboardcore
v1.0.2
Published
The core "dashboard" to a majority of hashidev-managed sites.
Downloads
118
Readme
DashboardCore
This is the core of many hashidev sites.
Angular must either be globally loaded or have a script loader like webpack that manages the loading of angular for the whole app.
Apps are responsible to load the user object and emit an event named 'userSetEvent'. This service must adhere to the ISessionDataService interface, and must be named SessionDataService in order for DashboardCore to use it properly.
GlobalSiteHeaderViewController needs the main app to have a "SessionDataService" and an "ApiHost" to work properly.
HashiEmailEditorViewController needs ckeditor installed globally in desired app.
- To develop, run "npm install".
- run "[sudo] npm install gulp -g".
- RequireJS is required globally to develop dashboardcore!
- run "[sudo] npm install requirejs -g"
- Running "gulp" builds all files and puts them in the dist and demo folders.
Project TODOS:
- Tests
- gulp watcher task
- make working demo page. I mean, it's already there, it's just not available online yet.
- minification and uglification.
- other stuff I've missed, I'm sure