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? ...
< H2 > as mentioned above, we want to listen to the closing event of the page, but we will respond if we find that refreshing or closing will happen. < H2 > the following is the judgment code on the network, but it doesn t seem to work. "Refresh or ...
I use handlebars to render html but the error is reported when it runs. Does anyone know why Error: 500 Internal Server Error Sorry, the requested URL http: 127.0.0.1:5432 caused an error: Internal Server Error Exception: SyntaxError( invalid...
download BootstrapTable using bower introduce bootstrap-table.min.js "error report: Uncaught TypeError: Cannot read property buttonsClass of undefined introduce CDN https: cdn.bootcss.com boots. is normal is there a problem with the download...
The theme background image of the page is placed in the static folder, and its name will be changed when it is packaged. Login-bg.jpg is changed to login-bg.814d480.jpg (random name). The production environment is integrated and run in the django backend...
var obj = [ { a: 1, b: 2, c: 3 }, { a: 4, b: 5, c: 6 }, { a: 7, b: 8, c: 9 }, { a: 2, b: 3, c: 10 } ]; the total block is added from the bottom, that is, first, sum4=a4+b4+c5=2+3+10=15, is the la...