Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ems-project/admin-menu
Inject elasticms admin menu in the Skeleton
https://github.com/ems-project/admin-menu
Last synced: 7 days ago
JSON representation
Inject elasticms admin menu in the Skeleton
- Host: GitHub
- URL: https://github.com/ems-project/admin-menu
- Owner: ems-project
- License: mit
- Created: 2019-08-19T21:13:02.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-07-20T04:04:05.000Z (over 1 year ago)
- Last Synced: 2024-11-03T21:03:36.642Z (16 days ago)
- Language: SCSS
- Size: 234 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# admin-menu
Inject elasticms admin menu in the Skeleton## Include CSS
``
$admin-menu-icon-fill: 'ping';
$admin-menu-icon-size: 16;
$admin-menu-font-color: #000000;
@import "~@elasticms/admin-menu/css/style";
``
## Include JS```
import adminMenu from './js/admin-menu';
adminMenu('esm_demo_admin', ' Back to admin', 'btn btn-sm emsch');
```Parameters:
- Link's target attribute:
- null: in the same tabe
- '_blank': in a new tab (default value)
- 'ems_project_x: in a named tab
- Link's inner HTML
- Class CSS to apply to the admin menu## Release
* Safety Checks
* `git pull`
* `git status`
* `npm ci`
* `npm audit fix --force`
* Create version
* Update version in package.json
* `npm update`
* Release ii on GitHub