Front-end of koa+mysql+vue+socket.io stack development

The comparison between React and Vue is a hot topic in the front end. Vue scaffolding, as well as the official provision of essential basic components, such as vuex, vue-router, are really friendly to novices; react gives these to the community to do, although this enlarges the ecological chain of react, but novices have a lot of trouble to co ...

Posted by ealderton on Sat, 04 May 2019 15:10:38 -0700

Hand in Hand to Learn VUE: Common Attributes of Three-Stage VUE during Construction Period

Video tutorial Please move because you don't support video link. https://www.henrongyi.top What can you learn? Hand in hand with you to learn VUE entry three files, VUE constructor internal use of various attributes, methods, computed, watch, filters, these four attributes, will often be used in the work. There are many mixed attributes, such ...

Posted by Thatsmej on Sat, 04 May 2019 12:30:38 -0700

Front-end privilege control of Vue project

Front-end privilege control of Vue project This paper mainly introduces how to control the front-end privilege in Vue project. Routing authority Routing permission means that users can only access the pages they have permission to visit. For pages without permission, they can jump to 404 pages or prompt without permission. T ...

Posted by jwadenpfuhl on Wed, 01 May 2019 09:20:36 -0700

In the vue project, index.html data communicates with components, passing values, for example, to get a MAC address

Recently, I took over other people's code in my project to improve it. One of them is to fix the bug that can't get the MAC address. I looked closely at the code and found that I need to use Activex control. The last colleague wrote <object></object> in the index.html file while writing, and the js code to get the mac address was al ...

Posted by rapmonkey on Sun, 28 Apr 2019 13:10:37 -0700

Vue.js Learning Notes Chapter 4 v-bind and class-style Binding

This catalogue: 4.1 Understanding v-bind instructions 4.2 Several ways to bind class es 4.3 Binding Inline Styles   DOM elements often dynamically bind some class class class names or style styles. This chapter describes several ways to bind classes and styles using the v-bind instruction. 4.1 Understanding v-bind instructions In C ...

Posted by antonbrk on Sat, 27 Apr 2019 14:30:37 -0700

The Birth of underscore: Basic Structure Construction

1. introduction Ununderscore is a mature and reliable third-party open source library. Just as jQuery unifies the differences of DOM operations among different browsers, it allows us to operate DOM simply. Ununderscore provides a set of perfect functional programming interfaces, which makes it easier for us to implement functional programming ...

Posted by salmanshafiq on Sat, 27 Apr 2019 09:30:36 -0700

Talking about Applet Maintenance from VantComponent

When developing applets, we always expect to use the technical specifications and grammatical features of the past to write the current applet, so there will be a variety of applet frameworks, such as mpvue, taro and other compiled frameworks.Of course, these frameworks themselves are helpful for newly developed projects.And what about old proj ...

Posted by mrobertson on Fri, 26 Apr 2019 12:12:35 -0700

Packaging custom plug-in libraries and the use process of VueRouter

Encapsulating custom plug-in Libraries Define a component Is a single file component Loading.vue Registration component import Loading from './components/Loading.vue' export const loading = { install () { Vue.component( 'Loading', Loading) } } Use components import Loading from './xxx/loading/i ...

Posted by wildmalc on Fri, 26 Apr 2019 09:36:36 -0700

Vue uses vue-quill-editor rich text summary (picture upload)

Vue-quill-editor is a rich text editor that we often use when we re-use the Vue framework. When we edit rich text, we often insert some pictures. The default way of vue-quill-editor is to convert pictures directly to base64 encoding. As a result, html fragments of rich text are very redundant. Usually, each server receives them. Th ...

Posted by ihenman on Tue, 23 Apr 2019 10:57:35 -0700

element+iconfont Implementing iconPicker Component

When doing background management projects, there is a function that the sidebar can be configured. Configurable items are: name, routing, icon, permission. The name, routing, and authority are in God's vue-element-admin The problem is that the icon selection configuration (after this, it is not necessary, because the project is used by the int ...

Posted by rd321 on Tue, 23 Apr 2019 10:39:34 -0700