Question:
How to set default page with multiple views with parent-child routing? Refer to the current vs expected output.
Answer:
Just refer to the code below and amend/insert it into your respective file(s).
Reference:
StackOverflow
How to set default page with multiple views with parent-child routing? Refer to the current vs expected output.
Current display |
Expected display |
Answer:
Just refer to the code below and amend/insert it into your respective file(s).
HTML file (index.html) |
JS file (app.js) |
HTML file (menu-dashboard.html) |
Reference:
StackOverflow