nuxt + i18n uses cookies to save the language configuration, how to return the corresponding language pack document when refreshing? What I am writing by default is that cn, manually sets cookie to en, page refresh will appear first cn, and then switch ...
The page can be displayed normally, but the console reports an error error message [Vue warn]: The client-side rendered virtual DOM tree is not matching server-rendered content. This is likely caused by incorrect HTML markup, for example nesting bloc...
as shown in the picture, the Chinese part cannot be displayed, and a lot of mistakes have been reported. part of the code: var _this = this; mapboxgl.accessToken = config.map_token; const map = new mapboxgl.Map({ container: _this.$r...
error report: Error while initializing app DOMException: Failed to execute appendChild on Node : This node type does not support this method. when jumping back to any current page from single sign-on. This error is displayed. I don t kn...
nuxtplugins axios.jstokenhttp...
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...
problem description add a test.js, to the plugins directory as shown on the official website. I just want to hang an encapsulated websocket instance to the Vue.prototype component for direct use. Nuxt.config.js is also configured according to the docu...
functional requirements: there is a search box on the home page and a search box on the list page. Enter the search content on the home page and jump to the search page to perform the search . nuxt implementation: save the searchKeyWords field into v...
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. ...
I have already set it in nuxt.config.js. Why not? module.exports = { ... router:{ mode: history }, ... } routing remains the same http: localhost:3000 -sharp I don t want the last -sharp thing ...
nuxt.js initialization page calls jsonp error document is not defined methods event method calls can be <script> import axios from axios import jsonp from jsonp import AppLogo from ~ components AppLogo.vue import test from ~ compon...
error content: F:nuxtnuxt-appuk-uinode_modules_vue@2.5.16@vuedistvue.runtime.esm.js:587 [Vue warn]: The client-side rendered virtual DOM tree is not matching server-rendered content. This is likely caused by incorrect HTML markup, for example nesting...
the error message is as follows: the official template integrates workbox,. May I ask why the error is reported ? ...
recently, many problems have been encountered in the process of transforming vue with Nuxt, such as route authentication in middleware, which is valid when the route address is changed, but refresh will not trigger how to solve it, and addRoutes is not ...
export const state = () => ({ wishNum: 0 }); export const mutations = { SET_WISH: (state) => { state.wishNum = 0; }, } let Num = res.total; setStore("wishNum", Num); -sharp-sharp whether I am writing this correctly. I ...
look again at the nuxt document, which does not understand these three attributes. Is set to isClient for client-side rendering? module.exports = { build: { extend (config, { isClient }) { if (isClient) { config.devto...
dom <el-form-item label=":" :label-width="formLabelWidth" prop="email"> <el-input :disabled="emailDis" v-model="sideForm.email" auto-complete="off" placeholder="&...
I am developing a project with nuxt.js. I unify the common js into the utility class util.js then I import {loadScript} from ~ util in each vue page as a result, it is found that each vue is completely packaged with util.js, instead of jus...
every time you succeed from a single sign-on, you will automatically jump to an interface of this project and report such an error. The interface is unresponsive. It s right locally. But that s what happens in a test environment. ...
such an error pop-up box pops up directly after requesting the interface. Can you cancel the error report that popped up automatically? This display on the interface is also not conducive to the user experience. ...
When the mkdir () function uses the absolute path, why is not taking the project directory as the root directory but disk as the root directory? -sharp E Test mkdir(" Test"); -sharp Test mkdir("Test"); solve ...
I want to find a point in a circle on a sphere and execute the command: db.places.find( { loc : { $geoWithin : { $centerSphere : [ [ -88 , 30 ] , 10 3963.2 ] } } } ).explain() found that it t...
such as svnserve-- version ...
...
how to query 3 tables together? here are three tables @Table({ tableName: published , timestamps: false, }) export default class Published extends Model<Published> { @Column({ autoIncrement: true, primaryKey: true, type: Dat...