Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialYuk Tang
3,464 PointsVue and Visual Studio Code Intellisense
When I enter new Vue() in app.js, VS Code does not recognise the keyword Vue, but suggests VTTCue instead. Is there a setting or extension that I need for VS Code to recognise Vue?
2 Answers
Yuk Tang
3,464 PointsMy eventual workaround was to open the js file in Notepad and add a new Vue declaration there. Once the initial declaration is made, VS Code recognises Vue as an object.
Yuk Tang
3,464 PointsI found a video titled "Setup Vue.js Dev Environment from Scratch" which has solved all problems.
Yuk Tang
3,464 PointsYuk Tang
3,464 PointsEntering the code exactly as is does not work, as it looks like the Vue object is not recognised. I am in the Hello Vue lesson on the Vue.js Basics course.