Answer the question
In order to leave comments, you need to log in
How critical is the presence of window.__NUXT in the source code with all the data?
I noticed that with ssr I have such a "trouble".
Script with all data from store and asyncData. Does it affect anything? with t.z. development/security/etc.
window.__NUXT__=(function(a,b,c,d,e,f,g,h,i,j,k){return {layout:"admin",data:[{}],error:c,state:{auth:{strategy:"local",loggedIn:f,user:{id:b,name:"Dk",email:"[email protected]",active:b,activation_token:"",created_at:d,updated_at:d,deleted_at:c}},crud:{items:{images:[{id:b,caption:"fsfd",url:"nuxt_images\u002Fz8ROaG4pTIcofjrb6XysssyDbFckHi5FOePSiIOD.png",created_at:e,updated_at:e},{id:2,caption:"dsadsa",url:"nuxt_images\u002Fq283NHQNugghH7t7CZNtSv7KcvnEyRQcVuvko8V1.jpeg",created_at:k,updated_at:k},
etc. - the whole store is "rendered" Answer the question
In order to leave comments, you need to log in
This is not a problem, but SSR, how do you think it should still work if the data needs to be loaded before being sent to the client and embedded in the page.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question