array
" to define an array."/> array " to define an array.">Home > Article > Web Front-end > How to represent arrays in vue.js
Arrays in vue.js are represented by single square brackets. The method of creating an array is: first create a code sample file; then pass the statement "f251896cc55feb04911e1d9bd4f7d248Array94b3e26ee717c64999d7867364b1b4a3" to define an array.
The operating environment of this tutorial: windows7 system, vue version 2.0, DELL G3 computer.
[Recommended related articles: vue.js]
Representation methods of strings, objects, and arrays in Vue.js
1. String It is double curly brackets {{ }}
2. The object is single curly brackets { }
3. The array is single square brackets [ ]
{{str}}
对象
数组
The above is the detailed content of How to represent arrays in vue.js. For more information, please follow other related articles on the PHP Chinese website!