title: How can i redirect correctly my page with router link in vue js 2
body: <p>i have a problem with router-link component in vue js 2. I create my router file</p>
  <p>index.js</p>
  <pre><code>import Vue from 'vue';
  import VueRouter from 'vue-router';
  import HomeView from '../views/HomeView.vue';
  import OrdersView from '../views/OrdersView.vue';
  
  Vue.use(Router)
  
  export default new Router({
    routes: [
      {
        path: '/',
        name: 'home',
        component: HomeView
      },
      {
        path: '/order',
        name: 'order',
        Component: OrdersView
      }
    ]
     
    const router = new VueRouter({
    mode: 'history',
    base: process.env.BASE_URL,
    routes,
  });
  
  export default router;
  })
  </code></pre>
  <p>HomeView.vue</p>
  <pre><code>&lt;template&gt;
      &lt;p&gt;HomeView&lt;/p&gt;
  &lt;/template&gt;
  
  &lt;script&gt;
    export default {}
  &lt;/script&gt;
  </code></pre>
  <p>OrdersView.vue</p>
  <pre><code>&lt;template&gt;
      &lt;p&gt;OrdersView&lt;/p&gt;
  &lt;/template&gt;
  
  &lt;script&gt;
    export default {}
  &lt;/script&gt;
  </code></pre>
  <p>App.vue</p>
  <pre><code>&lt;template&gt;
    &lt;div id=&quot;app&quot;&gt;
      &lt;div class=&quot;sidebar-sticky pt-3&quot;&gt;
          &lt;ul class=&quot;nav flex-column&quot;&gt;
            &lt;li class=&quot;nav-item&quot;&gt;
              &lt;router-link to=&quot;/order&quot;&gt;Orders&lt;/router-link&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      &lt;/div&gt;
      &lt;div class=&quot;container-fluid&quot;&gt;
         &lt;div class=&quot;row&quot;&gt;
          &lt;main role=&quot;main&quot; class=&quot;col-md-9 ml-sm-auto col-lg-10 px-md-4&quot;&gt;
           &lt;router-view/&gt;
          &lt;/main&gt;
         &lt;/div&gt;
      &lt;div&gt;
    &lt;/div&gt;
  &lt;/template&gt;
  </code></pre>
  <p>When i run my application , i have any error and when i click on the router link Orders, the content of the OrderView doesn't add to the router-view section.</p>
  <p>I have any error.
  Can you help me why my content of OrderView.vue doesn't put in the app.vue (router-view section)</p>