What is the use of Router and {{outlet}} tag in ember.js?

Category: Web Design HTMLWhat is the use of Router and {{outlet}} tag in ember.js?
Editor">Editor Staff asked 2 years ago

What is the use of Router and {{outlet}} tag in ember.js?

1 Answers
Editor">Editor Staff answered 2 years ago

A router is used to specify all the possible states of an app and map them to URLs while {{outlet}} tag is used to build a hierarchy of sections by providing a mean for a container template to include a child template.