How to use history mode for routing in vue multi-page project

Preface Before writing a Vue project, we need to add a printed page. We need to use multi-page mode to develop it. It is easy for vue-cli3 to configure multi-page for initialized project. But we found that print.html can not configure the history mode routing, once using history mode routing. Writing a simple demo for help online did not solve ...

Posted by Qnuts on Tue, 08 Oct 2019 21:08:08 +0200

How to implement resource inlining in webpack4?

This article will systematically introduce the correct posture of resource inlining (HTML/CSS/JS/Image/Font) in Webpack4. First, let's work together to understand what is resource inline. What is resource inlining? inline resource is to insert one resource inline into another resource. We can intuitively feel it through a few small examples. HT ...

Posted by nalkari on Sun, 06 Oct 2019 12:44:13 +0200

How to introduce BootStrap in Vue?

How does Vue introduce BootStrap? Installation of Node.JS Because Vue relies on Node.JS, install Node.JS first (at least version 8.9) Installation of VueCli Tools Command window input NPM install-g@vue/cli to install the latest version of VueCli tool Vue-V Viewable Vue Version NPM install-g@vue/cli-init retrievable old version III. Creati ...

Posted by Gamerz on Fri, 04 Oct 2019 03:44:50 +0200

Build your own web pack development environment from 0

Last review: Build your own web pack development environment from 0 (1) loaderIt is mainly used to convert the original content of the module into new content according to the requirement, so that it can be used to load non-components. JS Modular! By using differentloader,WebpackYou can convert different files into JS Documents, such as CSS, ...

Posted by activeradio on Tue, 17 Sep 2019 17:04:42 +0200

umi configures chain Webpack, using custom loader - - jsx-px2rem

Catalog Make complaints: loader: Modify the chain Webpack configuration End Make complaints: At first, following the trend, the boss saw umi as a framework for Chinese people to develop labels, felt that it could be tried, and believed in ...

Posted by itworks on Tue, 03 Sep 2019 10:34:45 +0200

Ultra simple starter example for Vue based on vue-cli, elementUI

Ultra simple starter example for Vue based on vue-cli, elementUI March 03, 2018 23:14:16 The sea monster in the bottle Read 26911 More Category Column: Vue Copyright Statement: This is an original blogger article that follows  CC 4.0 BY-SA  Co ...

Posted by ferhanz on Sun, 01 Sep 2019 02:52:11 +0200

Monorepo 15 minutes to experience lerna

hello! hello, everyone, I am a front-end development, committed to sharing technology with you in the simplest and straightforward way of introduction, looking forward to common progress of good young people, ha ha ha In this article, I will elaborate the following points according to my own project experience: Why use lerna for project manag ...

Posted by MikeSnead on Fri, 30 Aug 2019 10:13:13 +0200

[vue] Nodejs & NPM ECMAScript6 Routing Web Pack Packaging vue_cli (Scaffolding)

Front-end Technology 1.1 Course Arrangement 1.2 Front-end Technology Understanding (Understanding below) 1.2.1 Front-end Development History 1.2.2 New Concept Interpretation 1.2.2.1 Node.js ...

Posted by webing on Thu, 22 Aug 2019 08:20:18 +0200

Automatic generation of vue routing files using web pack plug-ins

A web pack plug-in that automatically generates vue routing files vue-route-webpack-plugin The pilot project has been successful, and now there is no need to maintain the routing configuration file in the project. It is automatically generated by plug-ins, which saves the time of routing maintenance. In the long run, using plug-ins to automatic ...

Posted by bruckerrlb on Mon, 19 Aug 2019 11:18:51 +0200

Vue project optimization

In the daily development of Vue project, with the increasing responsibility of business and the increasing amount of code, the problem is that the volume of packaged vendor.js is too large, which leads to the long time of loading space-time white pages and the poor experience for users. So we need to reduce the volume of vendor.js and solve thi ...

Posted by cbj4074 on Thu, 15 Aug 2019 15:13:56 +0200