Movatterモバイル変換


[0]ホーム

URL:


CoreUI Angular Logo
Framework:
Getting startedIntroductionSupport CoreUICustomizeSassOptionsCSS VariablesLayoutBreakpointsContainersGridColumnsGuttersFormsOverviewAutocompletePRODate PickerPRODate Range PickerPROForm ControlSelectMulti SelectPROChecks & RadiosPassword InputPRORangeRange SliderPRORatingPROStepperPROInput GroupFloating LabelsLayoutTime PickerPROValidationComponentsAccordionAlertAvatarBadgeBreadcrumbButtonButton GroupCalendarPROCalloutCardCarouselClose buttonCollapseDropdownFooterHeaderImageList GroupLoading ButtonPROModalNavNavbarOffcanvasPaginationPlaceholderPopoverProgressSmart PaginationPROSmart TablePROSidebarSpinnerTableTabsNewToastTooltipWidgetsIconsChartsTemplatesNewAdmin & DashboardDownloadInstallationCustomizeContentMigrationv4 → v5v3 → v4Angular version


DownloadHire UsGet CoreUI PRO
On this page

CoreUI 5 Angular Migration

Track and review changes to the CoreUI Angular components to help you migrate from v4 to v5.

CoreUI for Angular is the Angular version of CoreUI components library, so before read the following guide, please check alsoCoreUI 4 to 5 migration guide.

Project structure

The CoreUI v5 for Angular template project has been updated tostandalone:

  • all the components, directives, and pipes have been converted to standalone,
  • unnecessary NgModules have been removed,
  • the project bootstrapping has been switched to standalone API.

In addition, there have been some changes to the project structure.

  • the routing modules have been replaced with routes,
  • thesrc/app/containers directory has been moved tosrc/app/layout.
coreui-angular-admin-template├── src/│   ├── app/|   │   ├── icons/|   │   ├── layout/|   │   ├── views/|   │   ├── app.component.ts|   │   ├── app.config.ts|   │   └── app.routes.ts│   ├── assets/│   ├── scss/│   ├── ...│   ├── main.ts│   └── index.html│├── ...├── tsconfig.json├── angular.json└── package.json

Template layout

src/app/layuut/default-layout/

CoreUI v4

─ c-sidebar├─ c-sidebar-brand├─ c-sidebar-nav└─ c-sidebar-toggler─ c-sidebar #aside─ div├─ c-header│  ├─ c-container fluid│  ├─ c-header-divider│  └─ c-container fluid│     └─ c-breadcrumb-router├─ div│  └─ c-container│     └─-router-outlet└─ c-footer

CoreUI v5

├─ c-sidebar│  ├─ c-sidebar-header│  │  └─ c-sidebar-brand│  ├─ c-sidebar-nav│  └─ c-sidebar-footer│     └─ cSidebarToggler├─ div│  └─ app-header│     ├─ c-container fluid│     │  │─ cSidebarToggle│     │  └─ c-header-nav│     └─ c-container fluid│        └─ c-breadcrumb-router├─ div│  └─ c-container│     └─-router-outlet├─ app-footer└─ app-aside

Styles

See:src/scss/style.scss

Components

componentinputnotes
c-avatartextColorusesTextColorDirective via directive composition api
c-badgetextColorusesTextColorDirective via directive composition api
textBgColorusesTextBgColorDirective via directive composition api
c-cardtextColorusesTextColorDirective via directive composition api
textBgColorusesTextBgColorDirective via directive composition api
c-carouseldarkusesThemeDirective via directive composition api
c-close-buttonwhitedeprecated property, usedark instead
c-close-buttondarkusesThemeDirective via directive composition api
c-navvariantTheunderline variant has been changed tounderline-border
c-date-pickerinputDateFormatcustom date format function
inputDateParsecustom date parse function
showWeekNumberdisplay ISO week number
c-date-range-pickerinputDateFormatcustom date format function
inputDateParsecustom date parse function
showWeekNumberdisplay ISO week number
c-dropdowndarkusesThemeDirective via directive composition api
cDropdownMenudarkusesThemeDirective via directive composition api
c-navbarcolorSchemeusesThemeDirective via directive composition api
c-offcanvasdarkusesThemeDirective via directive composition api
c-progresssimplified HTML structure
c-sidebar-togglerremoved, usecSidebarToggler directive instead
c-smart-tableremoved_id internal property for items

Directives

directiveinputchangevalues
TextColorDirectivecTextColorremovedmuted,high-emphasis,medium-emphasis,disabled,high-emphasis-inverse,medium-emphasis-inverse,disabled-inverse
newprimary-emphasis,secondary-emphasis,success-emphasis,danger-emphasis,warning-emphasis,info-emphasis,light-emphasis,body,body-emphasis,body-secondary,body-tertiary,black,black-50,white,white-50

CoreUI for Angular is Open Source UI Components Library for Angular.

Currently v5.5.17 Code licensed MIT, docs CC BY 3.0 .
CoreUI PRO requires acommercial license.


[8]ページ先頭

©2009-2025 Movatter.jp