Build a Restful back end in 5 minutes

Raw material express mongoose seven-express express-session Start Using npm to install express and scaffolding $ npm install -g --save express express-generator Initialization project The default is to use the Jade template, and you can use -- view=== to specify other templates. $ express seven-test $ cd seven-test $ npm install $ npm in ...

Posted by Franko126 on Sat, 06 Jul 2019 11:18:05 -0700

gulp overview and introduction

Gulp is written by Eric Schoffstall. gulp is a stream-based front-end automation building tool. gulp uses the output of the first level operation as input of the second level operation in a way similar to unix pipeline. gulp runs on node s. gulp can detect the grammar of javascript/coffescript/sass/less/css/html/image and other files Compile, m ...

Posted by flientje on Wed, 03 Jul 2019 14:53:03 -0700

Set up a note taking application step by step with vue-cli and vuex (1)

I wrote this article because I want to learn vuex. To be honest, I have been using vue, but the core vuex has not been used yet. https://segmentfault.com/a/1190000005015164 This article is well written, but it's a bit old. It was written a year ago. Now I'll automate the project with vue-cli, then build a note-taking application with vuex. ...

Posted by alex_lana on Tue, 02 Jul 2019 10:41:26 -0700

Angular - webpack 2 cases

It took more than a week to build a simple wap station. I have studied webpack before, but I haven't used it. This time, the company is going to build an h5 website, which is just used for practice. It says that angular 1x is not very friendly to the mobile end, but it is mainly because angular 1x is familiar with, quick to start and fast to ...

Posted by venkat20 on Fri, 28 Jun 2019 17:03:04 -0700

Personal Summary of the Use of vee-validate

Personal Summary of the Use of vee-validate To learn vee-validate, you can read it first. Official Documents For more details, you can read the official website rule . English documents may be incomprehensible. I recommend you to read this article. Blog Here is a brief summary of my use: I. Installation npm install vee-validate@next --sav ...

Posted by dean7 on Tue, 25 Jun 2019 12:17:09 -0700

Reaction, react-router, redux may be best practices 1

Preface This is a small example of react, hoping that through a small example, novices can better understand the centralized use of react, react-router 4.0, redux. This is based on create-react-app To develop, a simple and fast way to create React web projects is to use the Create React App tool, equivalent to a react scaffold, which is devel ...

Posted by mofm on Mon, 24 Jun 2019 15:30:23 -0700

webpack Rookie Learning

Webpack is a front-end tool that allows modules to be loaded, preprocessed, and packaged. It has all the basic functions of Grunt or Gulp. Previously, gulp was used to do css and js for pages, packaging was compressed, configuration was simple, but it was too cumbersome. When using sass, importing sass files directly into sass was prone to erro ...

Posted by changeback on Sat, 22 Jun 2019 12:13:33 -0700

loader practice of Web pack

Developers who first understand the concept of front-end template usually use the template method of underscore, which is very simple and easy to use. It supports assignment, conditional judgment, cycling and so on. It can basically meet our needs. When using Webpack to build a development environment, if we want to use the template method of u ...

Posted by BlueBoden on Thu, 20 Jun 2019 16:47:11 -0700

PC side uses react-redux compatible ie8 (including instructions and demo)

In order to be compatible with PC ie8, knockout.js is used in PC technology stack and react is used in touch screen. As a result, when we develop the business of the same module, we need to use two technology stacks to realize the same business logic. Such shortcomings are: increased workload, increased learning costs for new partners (need to ...

Posted by krang on Thu, 20 Jun 2019 15:16:12 -0700

ReactNative uses CodePush to implement hot updates

One of the advantages of ReactNative is that it can be hot updated. There are many application scenarios requiring hot update, such as: The audit time of major application markets is too long Some heavy business logic pages that often need to be updated A relatively large App, which may be responsible for each piece by a department, cannot be ...

Posted by dirtyfrenchman on Sun, 16 Jun 2019 16:50:43 -0700