Web pack related configuration

//Since webback is built on nide, any legal node code is supported when configuring files.// 1. Import Path Template const path =require('path'); // Import plug-ins that generate html pages in memory const htmlWebpackPlugin = require("html-webpack-plugin") // 2. Operating through modules in node To expo ...

Posted by gammaman on Fri, 11 Oct 2019 13:19:29 -0700

vue sends ajax requests

1. vue-resource 1, introduction A Vue plug-in for processing ajax requests is widely used in vue1.x and is not maintained. 2. Use process step1: installation [Command Line Input] npm install vue-resource --save Step 2: Introduction [main.js] // Introducing vue-resource import VueResource from 'vue-resource' // Using vue-resou ...

Posted by john_6767 on Fri, 11 Oct 2019 11:46:58 -0700

Create a Vue single page application through Laravel

The article was forwarded from the professional Laravel developer community, the original link: https://learnku.com/laravel/t... We are The third part Instead of building a real client, we learn to use Vue routing to get component data. Now we are ready to turn our attention to the ability to create CRUD s for users - this tutorial will focus ...

Posted by Jenk on Fri, 11 Oct 2019 02:08:19 -0700

vue project access mock & Axios general configuration

Preface Similarly, in the process of project development, there are often no interfaces and the front-end pages have been built. At this time, in order to improve the efficiency of front-end development and liberate productivity, we FE can do some interface simulation according to the pre-defined interface documents, and so on. After the back-e ...

Posted by reagent on Thu, 10 Oct 2019 12:02:02 -0700

Some pits and knowledge collections of Vue and SprinBook development and maintenance

1. Perfectly Solve the Cross-domain Problem of Vue2.0+Axios Development and Production Environment Because bloggers mainly do back-end development and automated operation and maintenance, so the front-end is basically oriented to classmates and search engine programming.. This time, a simple and elegant cross-domain solution with Vue and Axios ...

Posted by buluk21 on Thu, 10 Oct 2019 05:17:27 -0700

[Front-end Blame Upgrade - LV.1] Basic Contents of Reaction

react usage tutorial Use of variables constructor(props) { super(props); this.state = { sliderSwiper: null, movies: [] }; this.handleStart = this.handleStart.bind(this); } if (!baseHref) { if (isPc) { window['location']['href'] = `${location.protocol}//${location.host}/demo/home`; return; } if (!isPc) { window['location']['href'] = `${location ...

Posted by skyriders on Wed, 09 Oct 2019 19:14:51 -0700

springboot+vue2.x Solves session Cross-domain Failure Problem

Server SpringBoot 2.x: localhost:8082 Front-end Vue2.x: localhost:81 The port numbers of the front and back end are different, which is cross-domain, resulting in a new session ID generated for each visit when the front end accesses the back end. The solutions are as follows:   Backend: 1. Add filters: package com.nsoft.gkzp.syscore.con ...

Posted by jumphopper on Wed, 09 Oct 2019 17:57:01 -0700

uni-app custom navigation bar button |uniapp imitation WeChat top navigation bar

uniApp Native Navigation Bar uni-app native navigation bar can also implement some top custom buttons + search boxes, just do some configuration in page.json. Setting up app-plus, dcloud platform makes a detailed description of app-plus: app-plus configuration However, for the time being, H5 and App are supported, and small programs are not su ...

Posted by mattison on Wed, 09 Oct 2019 15:10:58 -0700

Vue.js Learning Notes-Directory Structure

Articles Catalogue 1. Overview 2. *.vue file 3. 1. Overview ├── README.md // Project Description Document ├── index.html // Page entry ├── package.json // Project Dependency Profile ├── build // Compi ...

Posted by clintonium on Tue, 08 Oct 2019 08:52:46 -0700

vue+element ui for cross-topic jump

vue+element ui for cross-topic jump In our usual development process, the routine answer is to jump to the next question after finishing the previous one, but the requirements I met recently are logical. For example, I choose different options and jump to the corresponding topic. Because of the excess ...

Posted by Bluelove on Tue, 08 Oct 2019 01:02:34 -0700