Upgrade to 1.0.0-alpha.5
Contents
Upgrade CSS Classes
You have to change following classes in html, vue & js files.
Old CSS classes - 1.0.0-alpha.4 | New CSS classes - 1.0.0-alpha.5 |
---|---|
mt-3 | mt-5 |
mb-3 | mb-5 |
ml-3 | ml-5 |
mr-3 | mr-5 |
mx-3 | mx-5 |
my-3 | my-5 |
m-3 | m-5 |
mt-2 | mt-4 |
mb-2 | mb-4 |
ml-2 | ml-4 |
mr-2 | mr-4 |
mx-2 | mx-4 |
my-2 | my-4 |
m-2 | m-4 |
mt-1 | mt-3 |
mb-1 | mb-3 |
ml-1 | ml-3 |
mr-1 | mr-3 |
mx-1 | mx-3 |
my-1 | my-3 |
m-1 | m-3 |
mt-h | mt-2 |
mb-h | mb-2 |
ml-h | ml-2 |
mr-h | mr-2 |
mx-h | mx-2 |
my-h | my-2 |
m-h | m-2 |
mt-q | mt-1 |
mb-q | mb-1 |
ml-q | ml-1 |
mr-q | mr-1 |
mx-q | mx-1 |
my-q | my-1 |
m-q | m-1 |
pt-3 | pt-5 |
pb-3 | pb-5 |
pl-3 | pl-5 |
pr-3 | pr-5 |
px-3 | px-5 |
py-3 | py-5 |
p-3 | p-5 |
pt-2 | pt-4 |
pb-2 | pb-4 |
pl-2 | pl-4 |
pr-2 | pr-4 |
px-2 | px-4 |
py-2 | py-4 |
p-2 | p-4 |
pt-1 | pt-3 |
pb-1 | pb-3 |
pl-1 | pl-3 |
pr-1 | pr-3 |
px-1 | px-3 |
py-1 | py-3 |
p-1 | p-3 |
pt-h | pt-2 |
pb-h | pb-2 |
pl-h | pl-2 |
pr-h | pr-2 |
px-h | px-2 |
py-h | py-2 |
p-h | p-2 |
pt-q | pt-1 |
pb-q | pb-1 |
pl-q | pl-1 |
pr-q | pr-1 |
px-q | px-1 |
py-q | py-1 |
p-q | p-1 |
hidden-md-down | d-md-down-none |
hidden-lg-up | d-lg-none |
Upgrade Angular 2 to Angular 4
Copy following folders and files:
- src/app/shared
- src/scss
- .angular-cli.json
- package.json
Remove folders and files:
- node_modules
- angular-cli.json
src/app/components/layouts/full-layout.component.html
appMobileSidebarToggler
You have to change mobile-sidebar-toggler
class to appMobileSidebarToggler
Change
To
appSidebarToggler
You have to change sidebar-toggler
class to appSidebarToggler
Change
To
appAsideMenuToggler
You have to change aside-menu-toggler
class to appAsideMenuToggler
Change
To
Install project dependencies
Upgrade ng2-bootstrap to ngx-bootstrap
ng2-bootstrap is now ngx-bootstrap, that’s why you have to make following changes in ts and html files:
src/app/components/components.module.ts
Change
To
src/app/components/modals.component.ts
Change
To
src/app/dashboard/dashboard.module.ts
Change
To
src/app/layouts/full-layout.component.html
You have to change dropdownMenu
to *dropdownMenu
src/app/app.module.ts
Change
To