Front-end project file organization and component naming

Reason In the process of developing a project, people are more or less doubtful about the catalogue structure of their own project, how to divide modules reasonably and how to name them reasonably. If these are not well regulated in the early stage of the project, then the newcomers will divide their catalogues again according to their own logi ...

Posted by stokie-rich on Wed, 15 May 2019 02:39:34 +0200

vue generates dynamic routing and navigation bar according to permission

Basic ideas: 1. Create vueRouter and instantiate it with common routing 2. Create routing objects that need to be filtered according to permissions (add necessary permission judgment fields to routing objects) 3. The login is completed and the backend cooperates to return the current user's privilege set. 4. Screen out the privi ...

Posted by raimis100 on Wed, 15 May 2019 00:16:21 +0200

vue component (1) - component introduction

Definition Component is one of the most powerful functions of Vue. js. Components can extend HTML elements and encapsulate reusable code. At a higher level, components are custom elements for which the compiler of Vue.js adds special functionality. In some cases, components can also represent native HTML elements that have bee ...

Posted by NICKKKKK on Tue, 14 May 2019 21:30:11 +0200

Use of vue-routing

Use of Routes Vue-router is the official routing plug-in for Vue.js. It is deeply integrated with vue.js and is suitable for building single-page applications.The single-page application of Vue is based on Routing and components, which are used to set access paths and map paths and components.Traditional page applications use ...

Posted by xdentan on Sun, 12 May 2019 06:45:01 +0200

[VUE] - Recommendation preparation for mobile H5 page development using VUE

Before using Vue to develop mobile pages, we need to do some pre-work to ensure that what users see when they visit the pages does not have different effects because of the different devices. For example, a page is displayed normally on the iPhone 7 plus, and then switch to the iPhone 5 because a small part of the content of th ...

Posted by xiosen on Sat, 11 May 2019 19:12:06 +0200

Canvas Utility Library Fabric.js Manual

brief introduction What is Fabric.js? Fabric.js is a library that can simplify Canvas programming. Fabric.js provides Canvas with the missing object model, svg parser, interaction and a set of other indispensable tools. Because Fabric. JS is a foreign framework, the official API is messy and numerous, most of the relevant documents are English ...

Posted by guttyguppy on Fri, 10 May 2019 21:12:38 +0200

Vue2.0 Based on vue-cli+webpack Vuex Usage Explanation

Original text: https://www.cnblogs.com/ghostwu/p/7521097.html Before that, I have shared the communication mechanism between components and between parent and child components, and our vuex is to solve the problem of component communication. What is vuex? The essence of component communication is to transfer data or componen ...

Posted by ruuyx on Fri, 10 May 2019 06:40:03 +0200

TNW-WeChat Public Number Various Message Interaction

Article Directory Test Number Application Open Developer Mode Receive various messages Process and distribute messages Introduction to MsgAdapter Response to the corresponding reply Open source recommendation Test Number Application Ask your own test number for testing Open Developer Mode The various message interactio ...

Posted by Afrojojo on Thu, 09 May 2019 16:30:05 +0200

Hand in Hand to Learn VUE: A VUE Profile and Common Internal Instructions

Video tutorial Since you can't insert the video, please move on. https://www.henrongyi.top What is VUE? VUE is a progressive framework for building user interfaces. VUE is not really a mvvm framework, but rather a data-driven framework. So before we learn VUE, whether you are a traditional JS developer or a back-end developer, we need to transf ...

Posted by kiwibrit on Thu, 09 May 2019 11:27:03 +0200