title: NextJS router solution for react-router Switch statement?
body: <p>For those using NextJS, how do you achieve the same behavior for react-router Switch behavior.</p>
  <p>ie...</p>
  <p>react-router</p>
  <p>BASE PAGE</p>
  <pre><code>--- header
  -------some sub content
  -------&lt;SWITCH&gt;
             &lt;Route .. for component 1 /&gt;
             &lt;Route .. for component 2 /&gt;
             &lt;Route .. for component 3 /&gt;
  </code></pre>
  <p>How is this achieved via NextJS?</p>