Summary of Handlebars, a front-end template engine

I. escape of Handlebars template 1. template Escape, output HTML string when {}} is used When {{}}} is used, html is output without escaping (identifying HTML tag attributes) 2.Helpers medium When return '< span style ='color: Red' > safety string < / span > ', escape and output HTML string When return new handlebars.sa ...

Posted on Mon, 02 Dec 2019 05:30:37 -0500 by George Botley

[Express learning notes-1] quick start

I. Basic Concepts Express is a simple and flexible node.js Web application framework, which provides a series of powerful features to help you create various Web applications and rich HTTP tools. Express can be used to quickly build a full-featured website with a set of robust features, which can be used to develop single page, multi page and h ...

Posted on Tue, 12 Nov 2019 02:45:00 -0500 by ntsf

Vue.js conditions and loops

Source: Alibaba cloud University - Developer class - Vue.js self study manual Conditional judgement v-if Condition judgment uses v-if instruction: v-if directive Use the v-if directive in the element and template: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Vue Test case - Alicloud University(/ed ...

Posted on Fri, 01 Nov 2019 16:34:15 -0400 by love_php

Developing Todos Records with jQuery

This example mimics the function of todo MVC in vue.js, using jQuery With development, the first version of jQuery will look a bit confusing and will be optimized in the future.    Todo MVC has the functions of adding, modifying, deleting, changing state and classifying todos. My development process is divided into the following steps. ...

Posted on Sat, 18 May 2019 18:48:55 -0400 by grooveman