-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: transform standalone components & transform vite
- Loading branch information
1 parent
4605f41
commit 3ba8208
Showing
70 changed files
with
3,208 additions
and
3,166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
import { ApplicationConfig, provideZoneChangeDetection } from '@angular/core' | ||
import { registerLocaleData } from '@angular/common' | ||
import zh from '@angular/common/locales/zh' | ||
import { provideRouter } from '@angular/router' | ||
import { provideNzIcons } from 'ng-zorro-antd/icon' | ||
import { IconDefinition } from '@ant-design/icons-angular' | ||
import { routes } from './app.routes' | ||
import { | ||
CheckOutline, | ||
CopyOutline, | ||
ShareAltOutline, | ||
EllipsisOutline, | ||
LoadingOutline, | ||
UploadOutline, | ||
MinusOutline, | ||
PlusOutline, | ||
StopOutline, | ||
} from '@ant-design/icons-angular/icons' | ||
import { provideAnimations } from '@angular/platform-browser/animations' | ||
import { NZ_I18N } from 'ng-zorro-antd/i18n' | ||
import { zh_CN } from 'ng-zorro-antd/i18n' | ||
|
||
registerLocaleData(zh) | ||
|
||
const icons: IconDefinition[] = [ | ||
CheckOutline, | ||
CopyOutline, | ||
ShareAltOutline, | ||
EllipsisOutline, | ||
LoadingOutline, | ||
UploadOutline, | ||
MinusOutline, | ||
PlusOutline, | ||
StopOutline, | ||
] | ||
|
||
export const appConfig: ApplicationConfig = { | ||
providers: [ | ||
provideNzIcons(icons), | ||
provideZoneChangeDetection({ eventCoalescing: true }), | ||
provideRouter(routes), | ||
provideAnimations(), | ||
{ provide: NZ_I18N, useValue: zh_CN }, | ||
], | ||
} |
Oops, something went wrong.