Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Vue.js Basics!
You have completed Vue.js Basics!
Preview
Learn a few more things you can do with templating and data binding, including using JavaScript right in your Vue templates.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
attached to multiple view instances.
0:00
I'll show you what I mean.
0:01
Let's create another view instance,
0:02
and talk a bit more about what
you can do with Mustache syntax.
0:04
First, I'll copy and paste the instance
we made in the last part of the course.
0:08
And rename the new instance so it's
assigned to a constant called example.
0:12
I'll also attach it to an HTML
element with an ID of example.
0:20
Now we have two view instances, and each
instance has its own properties and scope.
0:26
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up