Building mobile terminal shelf with perfect function based on vue-cli3.0

The main functions of mobile terminal shelf based on vue-cli3.0 include Web pack packaging extension Css: sass support, normalize.css, _mixin.scss, _variables.scss vw, rem layout Cross domain setup eslint settings Introduction of cdn Routing Design, Logon Interception axios, api design vuex state management Project address: vue-cli3-H5demo ad ...

Posted by justravis on Tue, 23 Apr 2019 09:15:34 -0700

Try writing a com firm dialog component for Vue.js!

This function is suitable for browsersWriting a web app, often using comfirm, for the overall consistency of the UI, or want to write a component.For the first time, it felt like a failure. Method 1 The code is as follows <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</tit ...

Posted by ghostrider1 on Sat, 20 Apr 2019 18:09:34 -0700

Application of vue in project

1. Why use vue At present, the big front-end has reached an unprecedented stage of prosperity, and a variety of framework libraries emerge in endlessly. I think we can definitely find two or three highly homogeneous frameworks for each framework we choose. So why do we choose vue instead of react and angular in the current front-end architectur ...

Posted by brandone on Sat, 20 Apr 2019 16:24:33 -0700

vue+muse-ui for online resume editing

Realize an online resume editor, realize online editing, generate resume pictures, apply technology: 1.vue.js 2.webpack 3.muse-ui(https://museui.github.io) 4. HTML 2 canvas. JS (used to generate images from html); The catalogue of projects that have been developed is as follows: And then the overall effect of my resume. (Using the ...

Posted by willchoong on Thu, 18 Apr 2019 20:33:32 -0700

Detailed Explanation of Vue & Vuex Practice

With the increase of application complexity, we need to consider how to manage the state of the application, separate the business logic from the interface interaction, and discuss in detail with reference to the author's. 2016 - My Front-end Road: Tooling and Engineering . Vue provides us with a convenient mechanism for state management withi ...

Posted by Haggen on Thu, 18 Apr 2019 16:15:33 -0700

Learning Vue from scratch (3)

Let's learn about components from an example. vuejs2.0 Actual Warfare: Imitate Douban app Project, Create Custom Component tabbar This example uses other components. For beginners, it will be confusing to know how to use so many components at once. So I rewrote this example, relying only on Vue. Then it's better for FQ to install a chrome ext ...

Posted by NCllns on Tue, 16 Apr 2019 23:24:33 -0700

Writing chat rooms

In the previous section, we created a WebSocket application using the ws module. But it simply responds to ECHO: xxx messages, also belong to Hello, world-level applications. To create a real WebSocket application, first of all, we need to have a MVC-based Web application, that is, the Web we created earlier with koa2 and Nunjucks. On th ...

Posted by Loki_d20 on Tue, 16 Apr 2019 17:03:32 -0700

Basic use of computational attributes

Basic Use of computed Computing Attributes computed: A configuration item provided by Vue Note: When data changes, instructions and expressions on the page are recalculated. Sometimes irrelevant data changes lead to recalculations all the time, so the computational properties are introduced here. How to use it? Computed i ...

Posted by HockeyDevil07 on Mon, 15 Apr 2019 21:30:32 -0700

250 lines to implement a simple MVVM

MVVM has aroused a boom in the front-end stage in the past two years. The hot Vue and Angular have brought numerous conveniences to developers. In this paper, we will implement a simple MVVM and explore the secret of MVVM with more than 200 lines of code. You can First click on JS Bin in this article to see the effect What is MVVM? MVVM is a ki ...

Posted by feckless on Sat, 13 Apr 2019 11:03:32 -0700

Xiaobai Full Stack Development I

Xiaobai Full Stack Development I brief introduction From a beginner's point of view (vue, Koa and Express) Starting from 0, build a single page front-end project that provides data through RESTful API and consists of vue. I hope I can help you, like me, who are all white stacks. (I have read many articles about how to build the whole stack, som ...

Posted by garfield213 on Sat, 13 Apr 2019 10:57:31 -0700