A vue Small demo Based on ES5
Now many vue projects are developed based on ES6, and most of my learning vue is based on the API of vue official website, which is based on ES5, so it is a challenge for me to change to the modular writing of the project. Therefore, I intend to make a vue demo based on ES5 first, and then write this demo based on ES6, which is a transition bar ...
Posted by RockRunner on Wed, 05 Jun 2019 10:25:42 -0700
VUE Computing Properties
1: computed attribute VS methods attribute
<div id="example">
<p>Original message: "{{ message }}"</p>
<p>Computed reversed message: "{{ reversedMessage }}"</p>
<p>Computed reversed message: "{{ reversedMessage1() }}"</p>
</div>
var vm = new Vue({
el: '#example',
data: {
message: ...
Posted by postalservice14 on Mon, 03 Jun 2019 22:03:11 -0700
Implementation of JS SDK Based on Vue Wechat Public Number
Get ready
First of all, we should see clearly the authorization of Wechat Web pages. Official documents Every step, then my demo is a small project based on vue, backstage is the Slim framework of php. Since the official documents are so complete that I can hardly read them at the time of development, I will try to say as little as possible in ...
Posted by Gabriel_Haukness on Wed, 29 May 2019 04:28:29 -0700
Several Ways of Implementing Rotary Sowing Effect with js
Rotation is also a common display effect on various websites. Here I will write about some simple ways to realize it.
// I don't know why the system ate the img tag in the code. Do the big guys have a solution?
1. Native js rotation
Native rotation effect, here the principle of implementation: there is a block-level element to place the list of ...
Posted by sangoku on Wed, 29 May 2019 03:41:28 -0700
New Vue+idea Project
I. start
Install vue-cli, Vue scaffolding:
cnpm i -g vue-cli
Test whether the installation is successful:
vue -V
Two, installation
Enter our working directory:
cd ~/IdeaProjects/
Use scaffolding to install projects:
vue init webpack demo
Prompt directory already exists, continue:Y
Project name: Return
Project ...
Posted by 01706 on Wed, 29 May 2019 03:06:48 -0700
Application State Management Tool Redux VS Mobx for Wechat applet
First, how to define the application state of the Wechat applet itself?
page({
data: {
item: '',
isLoading: true
},
onLoad: function(){
this.setData({
isLoading: false
})
}
})
2. Why use application state management tools?
Same data, one request, application global sharing.
The clear data flow in MVVM architectur ...
Posted by common ground on Sun, 26 May 2019 13:11:41 -0700
vue-cli#2.0 Project Structure Analysis
Students who have been exposed to Vue should know that it is very convenient to develop a Vue project with vue-cli, which can help you quickly build a strong Vue.js project.Today, instead of talking about what vue-cli is, let's talk about what the project structure is built with vue-cli and analyze some of the files.For reference, here is a s ...
Posted by jdeer0618 on Sun, 26 May 2019 10:38:47 -0700
Vue-props data transfer
props data transfer
(1) Scope of component instances:
Isolated. Simply put, values are not shared between components even if there is a property with the same name.
<div id="app">
<add></add>
<del></del>
</div>
<script>
var vm = new Vue({
...
Posted by markyoung1984 on Sun, 26 May 2019 10:26:26 -0700
Vue+Express+Mysql Full Stack Initial Experience
Preface
Original Address
Once, did you think about the future of a front-end engineer?Did you think of the word "Front End Architect" at this point, so a qualified front end architecture will only have a Front End OK?Of course not. You must have the full stack of abilities to expand your personal image, to get a promotion and pay rais ...
Posted by dkruythoff on Sat, 25 May 2019 12:02:08 -0700
About React Server-side Rendering (SSR)
Recently, I often hear other front-end teams that specialize in Vue project mention SSR. They don't know what it is. They just think it's something they do inside. Although they are curious about it, they don't care much about it. Later, when they wander around a technology forum, they suddenly see the term. After clicking in, they know what S ...
Posted by pbdude23 on Fri, 24 May 2019 11:19:29 -0700