Setting up private npm services using sinopia

Original Address https://github.com/jindada/blog/issues/1 Why private NPMS need to be built Private packages only want to be used internally, not git+ssh, feel less elegant, and configure the appropriate permissions Packet download on npm is very slow. To cache the downloaded packages on the server, first check for updates on the next dow ...

Posted by khushbush on Sat, 22 Jun 2019 19:13:40 +0200

Tencent Alloy Team officially released pasition - making cool Path transition animation

pasition Pasition - Path Transition with little JS code, render to anywhere - Ultra-small Path Transition Animation Class Library Github source code Online Demonstration Recently, it has been on the Bessel Curve, for example, the Bessel Curve, the Bessel Curve, the Bessel Curve, the Bessel Curve, the Bessel Curve and the Bessel Curve. curvej ...

Posted by Nymphetamine on Thu, 20 Jun 2019 23:09:59 +0200

Front-end Framework Vue (11) - Vue + Form Verification VeeValidate Practice

Let's talk about the form validation plug-in VeeValidate this time, so why combine it with Vue? Let's have a look. github The picture above is clear! Come for Vue! It's not clear whether it's Vue's official form validation plug-in. Bullshit shows the effect directly: =============================== dividing line======================= ...

Posted by Paul15679 on Thu, 20 Jun 2019 04:05:15 +0200

Web Pack 1 beginner introductory tutorial

This article github warehouse address: https://github.com/Rynxiao/webpack-tutorial It contains all the code for this tutorial. If you think this article is well written, please give this warehouse a star: -D. 1. Introduction 1.1 What is webpack? webpack is a module bundler. webpack takes modules with dependencies and generates static assets re ...

Posted by qazwsx on Sat, 15 Jun 2019 00:18:26 +0200

Electron Quick Start and Packaging

Preliminary understanding brief introduction Electron lets you use pure JavaScript to call rich native APIs to create desktop applications. You can think of it as a variant of io.js that focuses on desktop applications rather than web servers.This does not mean that Electron is JavaScript bound to the GUI library. Instead, Electron uses web pag ...

Posted by sgalonska on Mon, 10 Jun 2019 02:20:08 +0200

In Angular, use ng-img-max to adjust images in browsers

You want to upload pictures in Angular applications. Do you want to limit the size of uploaded pictures at the front end before uploading them? The ng2-img-max module is exactly what you want! The ng2-img-max module uses web sorkers to calculate the image size and resides in the main thread. Let's look at his use: install First, install modules ...

Posted by jgetner on Tue, 04 Jun 2019 06:50:39 +0200

node.js command line tutorial

node command line tutorial This article first introduces the native node.js for command line interaction, understanding the native api, and then implementing a complete interactive command line tool using commander.js and inquirer.js.Project Address process The process object is a global variable that provides information about and controls the ...

Posted by seatoomol7 on Sun, 26 May 2019 22:57:54 +0200

Web pack 2.0 to build react framework

Learning React, has been using the original scaffolding, create-react-app, but used for so long, psychological inevitably is not taste, after all, I have been a little knowledge of webpack, so I spent a day, read a lot of blogs, but most blogs are not unified, so I have not built up for half a day, and then I read the official website step by ...

Posted by rashu.dr on Sun, 26 May 2019 22:37:20 +0200

Node.js Template Engine Tutorial-jade Speed Learning and Practical Warfare 1

Environmental preparation: Global installation jade: NPM install jade-g Initialize the project package.json: npm init --yes After the installation is complete, you can use jade --help to view the command line usage of jade 1. Create a new index.jade file under the project directory inde.jade code: 1 doctype html 2 html 3 head 4 met ...

Posted by daucoin on Fri, 24 May 2019 23:15:53 +0200

ghost blog deployment

Summary ghost is an open source blog platform based on nodejs There are many articles about ghost blog deployment, including ghost Chinese network. There are many ways to deploy ghost blog. But I think the most convenient way is to deploy ghost with ghost_cli. ghost-cli is a new tool after version 1.0. Simply put, it can help us install, sta ...

Posted by sfc12345 on Fri, 24 May 2019 22:37:16 +0200