A vue small demo based on ES6+webpack

Last article A vue Small demo Based on ES5 We talked about how to make a small demo with ES5, vue-router, and let's turn it into an ES6+webpack based demo. 1. Environment Setup and Code Conversion Let's set up a vue development environment first, according to one of my essays Vue Development Environment Setup and Hot Update , we build the devel ...

Posted by slimjim on Wed, 05 Jun 2019 10:40:41 -0700

Introduction and Application of Runtime VI - Practice

What exactly does runtime do in real development?How can we use tools like Niu X? To use runtime, first add a header file before writing the runtime code: #import <objc/objc-runtime.h> //simulator perhaps #import <objc/runtime.h> //real machine #import <objc/message.h> //real machine 1 2 3 4 1. Add a class dynam ...

Posted by Eiolon on Tue, 21 May 2019 09:44:29 -0700

Core concepts of webpack-dev-server

Core concepts of webpack-dev-server ContentBase vs publicPath vs output.path of Web pack webpack-dev-server uses the current path as the requested resource path (so-called Current Path This is the path to run the command webpack-dev-server, if the webpack-dev-server is wrapped, for example wcf The current path refers to the path to run the ...

Posted by john_bboy7 on Tue, 14 May 2019 05:04:11 -0700

The gulp article of the front-end engineering chapter makes it easy for you to master gulp [full set of gulp source annotation parsing]

gulp is a build tool that runs on a Node.js-based platform using the modular syntax of commonJs. We use packages that gulp needs A TASK task, corresponding to a package, corresponding to a processing logic, gulp.series corresponds to synchronous tasks, which are executed from left to right in turn. Long time gulp.parallel corresponds to async ...

Posted by khovorka on Sun, 24 Mar 2019 20:33:28 -0700

elixir spwan and spawn_link(:trap_exit)

Process is a very basic unit of task execution for elixir. Previously, we did not understand spawn and spawn_link deeply. We only know that the latter is the link between the child process and the parent process, and the accidental collapse of the child process can also lead to the collapse of the parent process. Today I just saw a film about ...

Posted by itsmani1 on Tue, 11 Dec 2018 16:24:05 -0800