commit
This commit is contained in:
@@ -1 +0,0 @@
|
|||||||
@import "../../node_modules/normalize-scss/sass/normalize";
|
|
||||||
|
|||||||
22
src/main.ts
22
src/main.ts
@@ -1,12 +1,20 @@
|
|||||||
import { enableProdMode } from '@angular/core';
|
/*
|
||||||
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
* @Description: {{ByRuin}}
|
||||||
|
* @Version: 2.0
|
||||||
import { AppModule } from './app/app.module';
|
* @Author: Ruin 🍭
|
||||||
import { environment } from './environments/environment';
|
* @Date: 2022-03-03 16:21:23
|
||||||
|
* @LastEditors: 刘引
|
||||||
|
* @LastEditTime: 2022-03-04 16:11:03
|
||||||
|
*/
|
||||||
|
import { enableProdMode } from "@angular/core";
|
||||||
|
import { platformBrowserDynamic } from "@angular/platform-browser-dynamic";
|
||||||
|
|
||||||
|
import { AppModule } from "./app/app.module";
|
||||||
|
import { environment } from "./environments/environment";
|
||||||
if (environment.production) {
|
if (environment.production) {
|
||||||
enableProdMode();
|
enableProdMode();
|
||||||
}
|
}
|
||||||
|
|
||||||
platformBrowserDynamic().bootstrapModule(AppModule)
|
platformBrowserDynamic()
|
||||||
.catch(err => console.error(err));
|
.bootstrapModule(AppModule)
|
||||||
|
.catch((err) => console.error(err));
|
||||||
|
|||||||
@@ -1,4 +1,9 @@
|
|||||||
/* You can add global styles to this file, and also import other style files */
|
/* You can add global styles to this file, and also import other style files */
|
||||||
|
// * {
|
||||||
|
// margin: 0;
|
||||||
|
// padding: 0;
|
||||||
|
// }
|
||||||
|
@import "../node_modules/normalize-scss/sass/normalize";
|
||||||
* {
|
* {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user