What exactly did webpack do?

Links to the original text: https://segmentfault.com/a/1190000015973544 Nowadays, it seems that the times have abandoned the use of a web pack as a front-end. Every day, when developing, npm run dev should go online. Anyway, you can pack i ...

Posted on Thu, 22 Aug 2019 02:52:57 -0700 by oboedrew

Learn about TypeScript, namespace for Vue3

Futures catalogue Lesson 1: Experience typescript Lesson 2, Basic Types and Advanced Types of Introduction Lesson 3, Generics Lesson 4: Interpretation of Advanced Types When will namespaces be used? If you find yourself writing more and more functions (functions/classes/interfaces, etc.), you can use namespaces if you want to group them. Here's ...

Posted on Wed, 21 Aug 2019 02:10:14 -0700 by schandhok

JS Arrow Function: Why?How to use it?When?

The most desirable feature in modern JS is the arrow function, identified by =>.Arrow functions have two main advantages: Shorter functions; A more intuitive scope and binding of this (do not bind this) Because of these advantages, arrow functions are more popular than other forms of function declarations.For example, the popular airbnb es ...

Posted on Tue, 20 Aug 2019 10:14:30 -0700 by skippence

Episode 13: Implementing a set of ui component library (scoring component star) of vue on pc from scratch

Episode 13: Implementing a set of ui component library (scoring component star) of vue on pc from scratch 1. Location of this collection Speaking of ratings, the first way to see this form is the movie website. Each movie gets several stars. Later, there are some ways for users to choose stars manually. These ways are more intuitive and more at ...

Posted on Sun, 18 Aug 2019 03:24:12 -0700 by madkris

Complete the memory game in JavaScript in 30 minutes

Learn JS, CSS and HTML by building a memory game in 30 minutes! This tutorial introduces some basic concepts about HTML5, CSS3 and JavaScript. We will discuss data attributes, location, perspective, transformation, flexbox, event handling, timeouts, and ternary expressions. You don't need a lot of programming knowledge to read this article. If ...

Posted on Sat, 17 Aug 2019 03:47:53 -0700 by jingato

vue source code parsing: nextTick

Use of 1 nextTick The image of dom in vue is not real-time. When the data changes, vue adds the rendered watcher to the asynchronous queue, asynchronous execution, and unified modification of dom after the execution of synchronous code. Let's see the following code. <template> <div class="box">{{msg}}</div> </template> ...

Posted on Mon, 12 Aug 2019 06:12:40 -0700 by trystan

Episode 11: Implementing a set of ui component libraries (tab switching components) for pc vue from scratch

Episode 11: Implementation from scratch (tab switching component) Location of this episode: Let's talk about the meaning of tab switching first. Whether it's a mobile phone or a pc, the screen size is limited, and the range of people's eyes is limited. People don't like the operation of'jump'when they see information, or we need to look up ...

Posted on Sun, 11 Aug 2019 02:05:40 -0700 by iceangel89

caddy & grpc adds a reverse proxy plug-in for caddy

caddy-grpc adds a reverse proxy plug-in for caddy Project address: https://github.com/yhyddr/caddy-grpc Preface Last time we learned how to extend the plug-in we wanted in Caddy. Blogs provide only a general framework. This time, let's learn from the specific plug-in caddy-grpc. The reason for choosing it is that it is a stand-alone applicati ...

Posted on Sat, 10 Aug 2019 03:36:53 -0700 by Edison

Create a complete vue mobile project configuration

The installation of vue and the creation of a new project have been introduced in the previous article. If you need to see the previous article Mobile end project I. Some ui frameworks for mobile terminals 1.Voinc: A UI Framework Based on vue.js and ionic Styles( https://wangdahoo.github.io/vonic-docu ...

Posted on Fri, 09 Aug 2019 00:18:11 -0700 by suthen_cowgirl

10. Use of Amaze UI in VueJs Filling Diary for Project

Last blog post, we integrated jQuery into our project, and today we're integrating Amaze ui.Let's start with the Sister UI.Amaze UI contains nearly 20 CSS components, more than 20 JS components, and more than one Web component with different topics. It can quickly build excellent cross-screen pages ...

Posted on Tue, 06 Aug 2019 11:36:09 -0700 by adamdyer