I want to use this in asyncData () in the Nuxt.js project it is officially said that this cannot be used in asyncData (), but my business requirement is to send a variable managed by vuex to the server when the page is loaded. The data code is as foll...
how to add Baidu statistical code to nuxt.js project ...
I need the js file in plugins or assets to call the mutation method add . How can I call it correctly? ...
recently, there is a strange problem in using nuxt for front-end separation. The data format of the backend API of the project deployed in the server has changed, and the data returned by asyncData request is still in the old data format, but there is no...
npm run build reports error, error content is as follows, after checking, I found that the original nuxt project can run nuxt start and nuxt build normally, so I also have the problem of adding plug-ins nuxtproxy and nuxtaxios. But because local d...
the project directory automatically generated by nuxt.js no longer has webpack.config.js, so how to configure things such as scss, less, autoprefixer, and url? ...
page: structure: index.vue homeindex.vue :homeindex.vuevue-awesome-swiper: ...
I have a configuration file in js format, and I don t want to read the configuration every time I have a request. (what if I configure it in cdn,? (not so good on the server Synchronize in the past) if I am writing a service like golang php c, I will c...
if you want to define a global less variable and then use it, how do you configure it ...
because vue version 2.5 or above is required to use element-ui, this error is reported after updating the vue, refresh page separately. I really don t understand. links on the diagram ...
I use the npm run dev command, but I use npm run generate to package and generate the dist folder, and open index.html to find that js is all invalid. When I first met vue, I asked for guidance. ...
I use nuxt to do a project that separates the front and rear ends, and uses docker to build the project independently. When the server needs generate to generate static files to access, and asyncData obtains the initial data, the data obtained by my loca...
my global variable configuration vue :@base-color-red less@ ...
report this error with pm2 logs main startup, but netstat-anp | grep port 80 is not occupied ...
add components with npm install v-distpicker add vendor: to nuxt.config.js [ axios , v vendor: distressed ] how to write in the vue interface, ask the great gods to save ...
D: code nuxtjsdemo node_modules nuxt lib core middleware nuxt.js:72 const policies = this.options.render.csp.policies ? {...this.options.rende r.csp.policies} : null SyntaxError: Unexpected token ... platform environment nodejs 8.2.0 v...
ask nuxt.js s vue single file, how to make some vue scripts to be rendered by browser instead of server. if the pull-up load belongs to browser rendering through ajax, how to express the .vue single file in ssr mode. Please, everyone. I m in a hurry...
after I install it using the documentation s npm installation method, I introduce a date selector as in the case, but the time is in English elementUI how to change this ...
the packaged scripts are generated dynamically by nuxt. How to mark a global variable so that your business code can tell which command it is? (for example, the interface domain names of different commands are different) ...
nuxt 1.4 uses keepAlive, in nuxt, but I find that when the page component is switched, the data in data will be reset and emptied when entering the interface . Is this his bug? if there is a problem with the setting, how can I modify the setting? ...
problem description: has a QR code, assuming that the message is: http: x.y qr 123 now needs to scan the code and add parameter access, such as http: x.y qr 123?param1=xxx. Wechat menu calls scan tweet: scancode_push or scancode_waitmsg. After sca...
1. For example, there is no way to realize this at present, please give me some advice. 2. Mixed development technology to open RN, after prohibiting hot updates, will the use of RN, in the project affect the approval? ...
next week the company arranges to make an APP (pure H5 webapp), has no experience of APP before, it s a bit of a panic. There are several main problems 1. Voice, camera and photo albums are mentioned in the prototype. What should I use if I call thes...
first look at the normal, focusing on s {1} here, because it matches a space, so here matches the third one. (?...
problem description add ldap authentication to django to use the django-auth-ldap module. You only need to introduce the module into settings.py and enter the corresponding parameter values. But in my project, I want to enable and enter these paramete...