Tag : vue.js

[Vue warn]: Error when evaluating expression “topic.meta.createAt ! = topic.meta.updateAt”: TypeError: Cannot read property ‘createAt’ of undefined (found in component: <v-article>) [Vue warn]: Error when evaluating expression “topic.meta.createAt”: TypeError: Cannot read property ‘createAt’ of undefined (found in component: <v-article>) This is the error message, the following is my code part. <h1>{{ topic.title }}</h1> <div class=”info”> ..

Read more

I want to use docker to deploy a project. The front end uses nuxt and the back end uses spring-boot.However, there was a problem when deploying nuxt, because nuxt is a server rendered pageIf axios is set tobaseURL: ‘192.168.9.59:9090/api/’This access is in the form of ip (192.168.9.59 is the ip of my virtual machine, and ..

Read more

The vue large-scale application is built and installed step by step according to the novice tutorial, but in the cnpm run dev Times (Node: 1192) UnhandledPromiseRejection Warning: UnhandledPromiseRejection (Rejection ID: 1): Error: Spawncmdenoent error.The following is the content of the README.md file my-project A Vue.js project Build Setup # install dependencies npm install # serve ..

Read more

Why is package’s plug-in version number different from npm’s? ? ? ?Old iron, this is how fat thing > _ < Because of yourspackage.jsonThe version numbers written inside are all^At the beginning, that is, during installation, the policy is to use the latest version as much as possible before the next big version.Take vuex for ..

Read more

$ npm install glob –save-dev npm ERR! Maximum call stack size exceeded npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\QiHuaBu\AppData\Roaming\npm-cache\_logs\2017-08-17T03_13_49_968Z-debug.log Why is it wrong? ? I have not install it before. How can I solve it? ? Old iron, help me see > _ < If your previous ..

Read more

I want to upload vue project to git, but I don’t upload node——module dependency. what should git add choose?Is there any order not to select a file and upload other files?You can’t add folders that need to be uploaded every time git add. Create a new file under the project named. gitignoreThe content is written ..

Read more

Project address:https://github.com/wq93/eleme If background interaction is not involved, it can be directly local during development.npm run devThat is accessed locallylocalhost:8080This is the actual effect (the default is to mount 8080 port with hot update). When you submit it to GitHub, it runs locally.npm run build, a dist folder will be generated, just submit the dist ..

Read more