Create new project
ng new --routing --style=scss project-name
cd project-name
# install southsystem packages
npm i @southsystem/styles
npm i @southsystem/layout
# install fontawsome packages
npm i @fortawesome/angular-fontawesome
npm i @fortawesome/fontawesome-free
npm i @fortawesome/fontawesome-svg-core
npm i @fortawesome/free-solid-svg-icons
file: src/app/app.component.html
<router-outlet></router-outlet>
file: src/app/app.module.ts
@NgModule({
imports: [
SSTLayoutModule,
]
})
file: src/app/app-routing.module.ts
// ...
import { SSTFullLayoutComponent } from '@southsystem/layout';
const routes: Routes = [
{
path: '',
component: SSTFullLayoutComponent
}
];
@NgModule({
imports: [
RouterModule.forRoot(routes)
]
})
// ...
file: src/styles.scss
@import "~@southsystem/styles/southsystem";