Vue is an open source framework created in 2014 by Evan You.
| #162on PLDB | 12Years Old | 876kRepos |
git clone https://github.com/vuejs/vueVue.js (commonly referred to as Vue; pronounced , like view) is an open-source JavaScript framework for building user interfaces. Integration into projects that use other JavaScript libraries is simplified with Vue because it is designed to be incrementally adoptable. Vue can also function as a web application framework capable of powering advanced single-page applications.. Read more on Wikipedia...
<div id="app">
<p>{{ message }}</p>
</div>
<script>
new Vue({
el: '#app',
data: {
message: 'Hello World'
}
})
</script>
<style>
.red {
color: #f00;
}
</style>
<template>
<div>
<h2 v-class="red">{{msg}}</h2>
</div>
</template>
<script>
module.exports = {
data: function () {
return {
msg: 'Hello from Vue!'
}
}
}
</script>
<div id="app">
<div>
<div>User 1</div>
</div>
</div>