Sunday, April 5, 2020

VueJs - Introduction


Vue is a JavaScript framework for building user interfaces. Its core part is focused mainly on the view layer and it is very easy to understand. The version of Vue that we are going to use in this tutorial is 2.0.

As Vue is basically built for frontend development, we are going to deal with a lot of HTML, JavaScript and CSS files in the upcoming chapters. To understand the details, let us start with a simple example.
In this example, we are going to use the development version of vuejs.
Demo

<html> 
 <head>
 <title>VueJs Introduction</title>
 <script type = "text/javascript" src = "js/vue.js"></script>
 </head> 
 <body> 
 <div id = "intro" style = "text-align:center;"> 
 <h1>{{ message }}</h1> 
 </div> 
 <script type = "text/javascript"> var vue_det = new Vue({ el: '#intro', data: { message: 'My first VueJS Task' } }); </script> 
 </body> 
</html>








No comments:

Post a Comment

Rewrite whole Web Site System and Sub System with data migration to new system.

Can you please share me your skype id or whats up number for better communications  my skype id is - jitendra.tech  whats up - +919617741414...