recently, a problem has been found in the project of rendering all ends of the server with nuxt.js. For example, there are multiple concurrent requests on a page, and as long as there is a problem with one request, the whole page will not work. When rend...
at present, when we use Vue for SSR refactoring of the project, we can t find a good way to save the user s login status because we can t use the window object. Is there any good way to save the user s login status? users have shared Vue SSR befo...
router.js import Vue from vue import Router from vue-router Vue.use(Router); export default function createRouter () { return new Router({ mode: history , routes: [ { path: , redirect:{name: articleList }, name: ...
to handle seo, use nuxt as the server rendering (for the first time) questions are as follows error message: document is not defined element is referenced in nuxt.config.js as follows css: [ assets main.css , element-ui ...
registerModule module executed in vue ssr rendering will not be shared by client rendering except state. For the time being, is there any way to trigger action in the sign module registered in asyncData methods sign LOGIN ...
add Weibo components to the loop: <div class="itemlist" v-for= itemw in weiboList > <div class="titleDiv"> <div class="textArt" :class="{ textActive :!item...
after nuxt.js is deployed to the server, the file is modified and then overwritten, but the content of the site is still deployed for the first time. how can the server render the latest page every time you upload a file? Crab! ...
for example, the navigation bar has two buttons with the following address: www.xxx.com page1 A.vue www.xxx.com page2 B.vue at this time, there are secondary pages called A1.vue and B1.vue in An and B www.xxx.com page1 subpage1 A1.vue www.xxx.com pa...
asyncData runs on the server, cannot be requested with ajax, is already running on the server, and does not require ajax. you cannot require mongo a database in entry-server.js, where should I execute the query command of mongodb and send the data ...
, resulting in an error: The client-side rendered virtual DOM tree is not matching server-rendered content . who has a solution (excluding the one that saves the state using cookie), that is, vue ssr uses localStorage to save the login state? ...
the original react single-page application of SPA has been changed to server rendering page according to the demo, on the Internet. However, opening the corresponding route through node and checking the source code with ctrl+u is still the most original...
in the past, in the react SPA project, I would listen for changes in parameters through the react lifecycle, and then re-request data, but the server rendering does not have this lifecycle, how can I listen? original code: componentWillReceiveProps(ne...
the project is a ssr project using the nuxt.js framework, and the nuxt version uses version 1.x. In the configuration project, nuxt.config.js does not set caching. Why is the data from the actual development server strongly cached, the data obtained from...
does react server rendering have to use redux to manage data? Can I write it directly in the component? ...
question: vue uses ssr mainly to optimize seo and the first screen experience, so what are the advantages and disadvantages of using node as the middle tier to output directly with traditional java jsp pages in terms of speed and performance? ...
I looked through iview s changelog and commit records to figure out how iview solved the SSR problem, but I couldn t find the relevant code (maybe I didn t translate it in detail enough), so I d like to ask developers who are familiar with iview, iv...
The configuration in package.json is as follows "scripts": { "dev": "nuxt", "build": "cross-env NODE_ENV=production nuxt build && nuxt start", "start": "nuxt start&quo...
vue ssr introduces carousel plug-in to report error: window is not defined; the solution given in the official document is not quite clear: https: zh.nuxtjs.org faq win. 1: .vue 2:external_library nuxt.config.js external_library ...
use jquery or vue+Nuxt.js on the official website of front-end project selection The project is a three-page official website with no data requests, only static display. what are the advantages and disadvantages of choosing both ways? has front-end...
at first I thought of adding js, directly to the index.html header, but I couldn t find it. I didn t seem to find it. Then I thought of head tag management that comes with nuxt, but it won t work if ie doesn t support it. ...