VedantInfoWays/ November 17, 2018/ Vue Js/ 0 comments

This is first simple veu js demo said “Hello”. just keep in mind include vue js min file

Read more

 

<html>
<head></head>
<body>
<div id="container">
<p>{{ txtvalue }}</p>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/0.11.10/vue.min.js"></script>
<script>
          var ex = new Vue({
          el: '#container',
          data: {
              txtvalue: 'Hello world by Vedant infoways',
          },
          });
</script>
</body>
</html>

Output : "Hello world by Vedant infoways"

 

Share this Post

Leave a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>
*
*