How do nuxt generate do permissions in the future?

I want to be a static website of generate on nuxt. How to put nginx, but don"t know the permission?
I thought to intercept the data in middlware and compare the vuex data to set permissions, so I put a test.js, in middlware to see whether the test.js was executed after the generate was released, but there was no result.

it seems that I still don"t understand nuxt,. Can you give me some advice? Thank you

Jul.30,2021

do you know what to do now? I am also troubled by this problem

Menu