• Using Django, Vue to build the project


    Written in front In order to solve the problem of lack of back-end staff and lack of recruitment, we decided to write the project in a way of front-end and back-end separation, so we tried to usedjango-rest-frameworkFollowVue.jsBuild a project. Refer to the following tutorial for the basic construction project. Use Django + vue.js to quickly […]

  • How to make an online compiler


    Before the article starts, I’ll show you my own online compilerJS-Encoder: Click here for a preview. About three or four months ago, I began to have the idea of making online compilers. Before that, I had contact with many online compilers, such as codepen, jsbin, jsfiddle, etc., which are very excellent and have a huge […]

  • Vue cli project development / production environment agent realizes cross domain request


    Cross domain in development environment The development address of the project created with Vue cli is localhost: 8080. You need to access the non local interface Access between different domain names requires cross domain to request correctly. There are many cross domain methods, which usually need background configuration. However, projects created by Vue cli […]

  • Zhengcaiyun front end tabloid No.47


    This issue starts in: zhengcaiyun front end tabloid No.47 For more on previous tabloids, please visit: weekly.zoo.team Implementation of web page recordingJavaScript Sometimes, when you don’t know the user’s specific operation, there is no way to reproduce this error. At this time, if there is an operation recording screen, you can clearly understand the user’s […]

  • Using docker compose to deploy Django and vue.js applications


    Preface The main content of this paper is to deploy the back-end Django rest framework and the front-end vue.js application by using the docker compose practice. Record some of the pits encountered and the solutions. Preparing the docker compose environment System: Ubuntu 16.04 (alicloud)User name in Code: Test Install Docker # install docker ## prepare […]

  • How to build an open source project with more than 10k micro personnel stars


    Look, wechat personnel (https://github.com/lend/vhr)… The number of stars is over 10K, and the first open-source project with tens of thousands of stars was born. Two years ago, almost at this time, SongGe’s company’s performance declined seriously. It was a foregone conclusion that the company closed down. Many colleagues were planning a new way out. SongGe […]

  • Pit encountered by introducing. Vue file in webpack


    Run program results after NPM install Vue Vue loader is executedI asked for a Vue template compile according to the error prompt, so I installed itimplementnpm install vue-template-compiler -DResult Where < span > Vue loader was used without the corresponding plugin. Make sure to include vueloaderplugin in your webpack config. < span >The error indicates […]

  • Vue shares the pit encountered in wechat


    Use Vue wechat to share on IOS During this time, I used Vue to make a wechat activity page, listing the pits encountered during the development. Wx related configuration Design activity sharing requires wxconfig configuration first. You don’t need to talk about anything. For details, see wechat development platform. Here is the configuration of wechat […]

  • Episode 13: implement a set of UI component library of Vue on PC from scratch (scoring component little star)


    Episode 13: implement a set of UI component library of Vue on PC from scratch (scoring component little star) 1. Positioning of this episode Speaking of scoring, I first saw that this form was movie website. Each movie got several stars. Later, there was a way for users to manually select stars for scoring. These […]

  • Vue project – family bucket (Vue + Vue router + vuex + Axios)


    Axios: it’s equivalent to Ajax. It used to use Vue resource, but now this module is not maintained. Axios is basically usedVue Router: the route of VueVuex: it is the state management of Vue to facilitate communication between components npm install vuex axios –save-dev Axios is configured as follows: //Introducing Axios import axios from ‘axios’ […]

  • Build a blog with vuepress


    Build a personal blog GitHub blog address: https://xiaoping027.github.io Preparation Initialization Yarn init or NPM init Follow the prompts step by step Install vuepress yarn add -D vuepress perhaps npm install -D vuepress package.json { “scripts”: { “docs:dev”: “vuepress dev docs”, “docs:build”: “vuepress build docs” } } NamelydevandbuildPattern New folder mkdir docs ├── docs/ ├── package.json […]

  • 8 high frequency interview questions and answers of Vue


    Preface This paper introduces 8 high frequency interview questions and answers of Vue. Review the front-end interview knowledge, is to consolidate the front-end basic knowledge, the most important or the usual accumulation! Be careful: the questions of the article are separated by underscores. The answers are for reference only. The full version of the front-end […]