This article is a mirror article of machine translation, please click here to jump to the original article.

View: 11595|Reply: 1

[Vue] vue chat example|Imitate the WeChat chat interface IM

[Copy link]
Posted on 7/20/2019 11:18:25 AM | | | |
This post was last edited by xiaoyan2015 on 2019-7-20 11:19

Project Introduction
Based on Vue2.0+Vuex+vue-router+webpack2.0+es6+node+vuePhotoPreview+wcPop and other technical architectures, vueChatRoom is a chat room with a similar WeChat interface, which realizes WeChat chat pull-down refresh, sending messages, emoticons (GIFs), pictures, video previews, tips, red envelopes and other functions.

Technical selection
  • MVVM framework :Vue.js 2.0
  • State management: Vuex
  • Page routing: Vue-router
  • Pop-up plug-in: wcPop
  • Packaging tool: webpack 2.0
  • Environment configuration :node.js + cnpm
  • Image plugin: vue-photo-preview



package.json dependent installation configuration:
App Portal Component Template:






















Main page main.js configuration and external components introduced:
Vue route blocking, login, registration blocking and verification:





Previous:How to convert the kind of logged-in page with pdfkit in python?
Next:"The World's 24 Most Amazing Lessons" (USA) Charles Harnell
Posted on 8/16/2019 11:26:09 AM |
Can you provide the source code to learn?
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com