tuandm / laravue

Admin dashboard for enterprise Laravel applications built by VueJS and Element UI https://laravue.dev
https://laravue.dev
MIT License
2.21k stars 655 forks source link

Reload problem #324

Open manudeluca opened 2 years ago

manudeluca commented 2 years ago

Hi, I want to create a new page. I proceed with the creation as in the documentation: https://doc.laravue.dev/guide/development/new-page.html#add-the-route

In the component I add a "count" variable in the data and an "addCount" method to increment the variable.

The method works and manipulates the variable but once I switch from one route to another, the component reloads.

Can you tell me why?