title: Laravel CRUD Axios Vue
body: <p>Im creating my first CRUD in Vue/Laravel and now I'm trying to send a create to my backend application, this is my code:</p>
  <p>Frontend:</p>
  <pre><code>async addDespesa() {
    let uri = &quot;api/despesas/create&quot;;
    const response = await axios.get(uri, this.despesa).then((response) =&gt; {
      this.$router.push({ name: &quot;despesas&quot; });
    });
  },
  </code></pre>
  <p>Backend:</p>
  <pre><code>public function create()
  {
      //
  }
  </code></pre>
  <p>Errors in inspect on Browser:</p>
  <pre><code>&gt;[vue-router] Route with name 'despesas' does not exist 
  
  &gt;Uncaught (in promise) NavigationDuplicated: Avoided redundant navigation to current location: &quot;/&quot;.
      at createRouterError 
  at createNavigationDuplicatedError
  at HashHistory.confirmTransition
  at HashHistory.transitionTo
  at eval
  at HashHistory.push
  at new Promise
   at VueRouter.push
  at eval
  </code></pre>