JS Export HTML to PDF
Dependency packages Based on two packages, jsPDF and html2canvas. npm install jspdf –save-dev npm install html2canvas –save-dev jspdf github address: https://github.com/MrRio/jsPDF html2ca...
Dependency packages Based on two packages, jsPDF and html2canvas. npm install jspdf –save-dev npm install html2canvas –save-dev jspdf github address: https://github.com/MrRio/jsPDF html2ca...
webpack-dev-server webpack-dev-server is a small Node.js Express server that uses webpack-dev-middleware to serve webpack packages. In practice, it will start an express static resource web server...
webpack introduction With the arrival of the wave of mobile connectivity, Webapp patterns, SPA are getting more and more attention. How to organize fragmented, multi-format code and resources in a...
Preface After a few months, I decided to write another post about learning Vue.js (the last one is here). Take this article to summarize how to use vue2.0 + webpack to quickly build SPA develop...
Preface It’s been almost two months since I wrote a blog! I’ve been learning the back-end of things, so I’m using this post as a record, which is also a way to urge myself to learn and accumulate....
Preface Recently, I had to make a small game about the shortest connecting line of a number of points, and realized how unsound my knowledge about algorithms is == Learning from my mistakes, growi...
This article is used to record the usual mobile refactoring encountered pitfalls, to remember, long-term update. Keyboard masking affects layout Pit: Fixed property fails under ios. When you ty...
I’ve been trying to organize my knowledge on ajax and cross domains lately. First, I’ll review how ajax is written, so the big guns can bypass it on their own. ajax AJAX = Asynchronous JavaScri...
Preface In some browsers, the return button is directly cached and does not execute any js code. For example, if the button is set to be loaded when submitting, and if the button is not processed ...
This article was translated from https://davidwalsh.name/promises While synchronized code is easier to trace and debug, asynchronous is often better for performance and flexibility. Why stop and...