.npmrcin the extracted directory. Those files are typically hidden in Unix based systems.
npm startin the console. This will start a development server with auto reloading enabled.
src/app- the main module for the application
styles- styles added here won't be treated as CSS Modules, so any global classes or library styles should go here
app/dashboard-core- Airframe components, services etc.
app/routes/routes.ts- Routes definitions
app/routes/sidebar.ts- Entries for the Sidebar Menu
src/app/routesin separate directories. Afterwards the component should be defined in the
routes.tsfile. Example: 1. Create a Page Component by adding two files to
example.component.html. 2. Fill the files with appropriate content. Check the Angular documentation if you don't know how to do this. 3. Go to
app/routes/routes.ts, import and attach the component inside like this:
example-routing.module.tsfile. Place inside the module routing definition. Example:
src/app/routes/routes.tsand add the configuration for the created module:
src/app/routes/routes.tsfile. Let's say you have defined a new Layout Component based on the Default Component called
Alternative. You can use it for specific pages as follows:
ThemeServiceinto your Layout Component. When the component is created you can set the
styleproperties in the service.