Git Product home page Git Product logo

Comments (4)

wangkanai avatar wangkanai commented on May 18, 2024 1

@dushkostanoeski thank you mate.
I have got my working solution here. What do you think?
https://github.com/wangkanai/CoreUI-Angular/tree/master/Angular4_CLI_Dynamic_Sidebar
Changing the sidebar between dashboard and users page.
wangkanai/CoreUI-Angular@970648b

from coreui-free-angular-admin-template.

dushkostanoeski avatar dushkostanoeski commented on May 18, 2024

The full-layout component should look something like this:

<app-header></app-header> // top level navigation here
<div class="app-body">
  <router-outlet></router-outlet> // outlet the sidebar and the second level router outlet
  <app-aside></app-aside> //dunno what you want to do with ths component
</div>
<app-footer></app-footer>

The second level modules should look something like this:

 <app-sidebar-1></app-sidebar-1> // you have to make separate sidebar components for each module or use named routes 
<!-- Main content -->
  <main class="main">
    <!-- Breadcrumb -->
    <ol class="breadcrumb">
      <app-breadcrumbs></app-breadcrumbs>
      <!-- Breadcrumb Menu-->
      <li class="breadcrumb-menu d-md-down-none">
        <div class="btn-group" role="group" aria-label="Button group with nested dropdown">
          <a class="btn" href="#"><i class="icon-speech"></i></a>
          <a class="btn" [routerLink]="['/dashboard']"><i class="icon-graph"></i> &nbsp;Dashboard</a>
          <a class="btn" href="#"><i class="icon-settings"></i> &nbsp;Settings</a>
        </div>
      </li>
    </ol>
    <div class="container-fluid">
      <router-outlet></router-outlet>
    </div><!-- /.conainer-fluid -->
  </main>

from coreui-free-angular-admin-template.

dushkostanoeski avatar dushkostanoeski commented on May 18, 2024

Looks great :)

If you want the aside to be different per model, move that into the module layout and have different asides per module

from coreui-free-angular-admin-template.

github-actions avatar github-actions commented on May 18, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions

from coreui-free-angular-admin-template.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.