Join Michael Sullivan for an in-depth discussion in this video Adding Vue to a webpage, part of Learning Vue.js.
- [Instructor] On the Vue.js homepage, at vuejs.org,…if I click get started,…and then installation on the left,…I can scroll down a little,…and then find a script element…with a link to the uncompressed…or unminified development version of the core view script,…which has lots of helpful warnings enabled.…You may find other script tags in the guide…that always point to the latest version,…but it's good to target a specific version…to make sure you know exactly what you're getting.…So we'll copy that to the clipboard.…
And then continuing from where we left off…in the last video, we'll remove the code here…for the first two versions…and replace the J query script element…with the view script here.…Despite what I said about not having to rely on IDs,…we actually will have to use one ID…to identify a section of the page for view to work with.…But once it's set up, we won't need to worry about it…and it'll be the only ID that we need on the page…no matter how many distinct elements we need to manipulate.…
So what I'm gonna do is wrap this in a div…
- Adding Vue to a webpage
- Thinking declaratively with data binding
- Methods and event handling
- Adding dynamic style and class attributes
- Using CSS transitions and animations
- Using Vue components
- Vue CLI
Skill Level Intermediate
Web Programming Foundationswith Morten Rand-Hendriksen58m 44s Beginner
What you should know1m 29s
1. The Simplest Form
2. Essential Directives, Options, and Tools
3. Enhancing User Interfaces
4. Vue Components
Next steps2m 32s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.