Posts by user3681 • 55 points
7 posts
-
0
votes0
answers58
viewsQ: Assignments and permissions with Nuxtjs and Vuex
Question - Is there a more appropriate approach / to deal with the release of access to page content depending on the profile of a logged-in user using Vuex and Nuxt? What I want to do When logging…
-
0
votes1
answer236
viewsQ: How do I upload a Nuxt project to a server? (Namecheap)
personnel what files of a project in nuxt I must go up to a server, in case I use the Namecheap. surrounded the npm run build (on my machine), and a folder /dist was created inside the folder .nuxt…
-
0
votes1
answer194
viewsQ: How to open my 404 component in case of error without changing the URL in Vue.js
How do I open my "Notfound" component, inside another component, using beforeRouteEnter, without changing the url? I created a dynamic route, and a * to open "Notfound" in all other cases. { path:…
-
1
votes1
answer640
viewsQ: Changing content of a Vue component based on the URL
I would like to know how to change the content of a component based on a parameter that is in the url of my site. I’m developing a portfolio and in it I created a file called Works.See. I don’t know…
-
0
votes2
answers710
viewsQ: Do I need to use a middleware auth on the controller if I use Gates from Laravel?
It’s safe to remove an authentication middleware from a controller if I’ve already set a Gate on Laravel? I did so: In Authserviceprovider.php Gate::define( 'admin', function ( $user ) { return…
-
0
votes1
answer74
viewsQ: About Vue project in a specific folder consuming Laravel data via Restfull API
It is possible to / good practice to create a Vue project in a separate Laravel folder so that all authentication and data consumption is done via Laravel’s Restfull API? /Raiz /Front <- Arquivos…
-
4
votes1
answer497
viewsQ: Store content / variables in Model - PHP MVC
Hello, I’m starting to study the MVC standard for PHP. I’ve read several questions here at Stackoverflow, I’ve studied the Laravel documentation and read several articles. I chose the concept…