v1.0.0
版本发布时间: 2017-04-28 20:36:31
akveo/ngx-admin最新发布版本:v11.0.0(2023-10-29 22:11:56)
Bug Fixes
- build: fix #777 (9bd7dbd)
- build: fix #955 (#961) (dd63535)
- build: hopefully fix the prod & aot build errors (#753) (7215b0b)
- card: fix #962 (#966) (72cb319)
- components: add css pseudo-selector for dropdown arrow (#848) (1be434b)
- components: add notification and message count from array length (#893) (a8fe3f1)
- dependencies: fix #689, #688 (d34e6e9)
- dependencies: fix angular2-template-loader version (2b25258)
- dependencies: fix versions (62810ae)
- dependencies: fix versions (5523029)
- dependencies: update dependencies, fix #694, fix #695 (08de1f6)
- docker: fix #712 (cd7520e)
- documents: fix #771 (78c70ae)
- editors: fix an issue where ckeditor doesn't load on the demo (0a4f40c)
- forms: bad linking correction between label and input (#886) (bb6ecd3)
- maps: fix #813 (b414eaf)
- menu: fix inactive menu item (2468710)
- package: add the description fields (0d77147)
- sidebar: fix #997 (0a3c98e)
- style: fix #958 (#963) (06d1b98)
- tables: fix #1000 (#1001) (4b98e0e)
- tables: fix #700 (c85eae7)
- tables: fix #704 (0fbad7e)
- theme: fix cards background of blur theme (0528e2e)
- ui: fix NgbModal declaration (49ff10e)
- validator: change email regex to: http://emailregex.com/ (4470607)
Features
- angular-cli: integrate angular-cli :tada: (#989) (7932421)
- dependencies: update yarn.lock file, fix debugging (cc97bf1)
- layouts: add file uploader (#842) (7d03461)
- localization: implement the localization using ngx-translate (#830) (627d62d)
- login: add the locale changes (#993) (e033edf)
- test: add testing infrastructure: karma, jasmine and chrome (#982) (4420048)
BREAKING CHANGES
- The webpack version of ng2-admin was moved to webpack branch.
- We dropped the electron support as, unfortunately, angular-cli doesn't have the official support of electron. Please consider using preview 'webpack' (link to webpack branch) version manually.
How to migrate
- Pull the latest ng2-admin version from **https://github.com/akveo/ng2-admin.git**;
- Copy your src/app, src/assets, src/custom-typings.d.ts from webpack version into src folder in cli version;
- Add each of your required modules and styles into .angular-cli.json;
- Change paths to file(images, fonts, ets);
- Add import * as $ from 'jquery'; into app.component.ts in cli version;
- Delete unused files in cli version: .bootstraprc, postcss.config.js, tsconfig.webpack.js, typedoc.json, webpack.config.js, config/, docs/, src/custom-typings.d.ts, desktop, ts, src/main.browser.aot.ts, src/package.json, src/polyfills.browser.ts, src/vendor.browser.ts, src/app/environment.ts, src/app/index.ts, src/assets/service-worker.js;
- Change style-loader css import to
styleUrls[‘./example.scss’]
and wrap your sass styles into:host /deep/ {}
expression.
NOTE: Sometimes you may have some individual issues with a concrete library, each such problem needs to be solved individually and can not be described in this guide.