Nuxt development experience sharing, let you step on less pits!

Explain This article is based on starter-template template for babies with vue-cli development experience. vue init nuxt-community/starter-template Nuxt Official Documents Simply put, Nuxt is an application framework based on Vue, using server-side rendering, so that your SPA application (Vue ...

Posted by ErcFrtz on Wed, 24 Jul 2019 03:23:49 -0700

Make a simple chat room with Node (with websokcet tutorial)

I've been talking about theory before. Let's talk about dry goods this time.By the way, let's write that vue series from zero single row in a few days. Usher is Usher after all, and it is really difficult to simulate the whole vue for a while and a half. Keep talking. (We need a node environment here, on a computer.)If you don't install node, c ...

Posted by justindublin on Sun, 21 Jul 2019 01:24:12 -0700

Detailed Process of Building Elastic Search Distributed Cluster in Linux

System environment: CentOS 7.5 192.168.204.128 192.168.204.129 192.168.204.130 JDK:1.8 elasticsearch-7.1.1 1. Configure the JAVA environment, extract JDK 1.8 into / usr/local/jdk / directory, and add it to / etc/profile JAVA_HOME=/usr/local/jdk/jdk1.8 CLASSPATH=.:$JAVA_HOME/lib/tools.jar:$JAVA ...

Posted by neo926 on Sun, 21 Jul 2019 00:26:08 -0700

Locating cyclic dependencies in JavaScript/TypeScript using dpdm

When writing large-scale projects, you will accidentally step into the pit of direct circular dependency. The so-called direct circular dependency refers to the situation that other members of the module factory function have direct calls to other modules that depend on themselves. For example: Suppose there are two modules a.js and b.js, where ...

Posted by onthespot on Fri, 19 Jul 2019 01:20:07 -0700

Install and use Karma-Jasmine for automated testing

Note: Data links, karma plug-in installation, etc. that appear in this article may require a $wall flip to perform correctly. Jasmine is a Javascript testing tool that runs Jasmine on Karma to automate Javascript testing, generate coverage reports, and so on.This article doesn't contain any details about Jasmine's use. I'll write an introd ...

Posted by IwnfuM on Wed, 17 Jul 2019 11:10:48 -0700

Code Separation - import() webpack2.x Chinese Document Translation

Code separation - using import() Chinese Document Address click here Dynamic import Currently, class module import() block loaded Syntax Recommendation The whole is handed over to ECMAScript.ES2015(es6) loader description Define import() as a method to load the es6 module at runtime.import() in webpack is a split-point, used to separate the req ...

Posted by joix on Tue, 16 Jul 2019 15:55:07 -0700

Development and Publication of node Plug-ins

This article will mainly share with you how to quickly create node plug-ins and publish them to npm.npm is a tool for JavaScript programmers to share and reuse code. We can not only install other people's plug-ins, but also publish our own code. NPM installs too much, it's time to publish a wave 1. Initialize a node project Let me name this n ...

Posted by discombobulator on Mon, 15 Jul 2019 16:57:15 -0700

Vue.js plug-in development in detail

Preface With the increasing popularity of Vue.js, the related plug-ins of Vue.js have been continuously contributed, countless. For example, the official recommendation of vue-router, vuex, etc., are very good plug-ins. But more of us just stay in the stage of use, less self-development. So the next step is to understand the development and use ...

Posted by hatching on Sun, 14 Jul 2019 16:28:58 -0700

The UI Library WeUI Designed for Wechat

Open source: https://www.oschina.net/p/weui WeUI Details WeUI is a UI library designed by the official design team of Wechat for Wechat Mobile Web applications. WeUI is a set of basic style library which is consistent with the original visual experience of Wechat. It is designed for the development of Wechat Web, which can make the user's ...

Posted by simonmlewis on Sat, 13 Jul 2019 12:44:02 -0700

React Native is embedded in Android native projects (two methods)

From: http://blog.csdn.net/u011965040/article/details/53331859?LocationNum=15&fps=1 Development Environment Preparation First you have to set up React Native for Android The development environment has not been built for reference: React Native for Android Windows Environment Setup New Android Native Project with Android Stu ...

Posted by surfsup on Sun, 07 Jul 2019 10:56:47 -0700