Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
art
lib
src Improved package load Sep 9, 2016
.gitattributes
.gitignore
CHANGELOG.md
CONTRIBUTING.md
ISSUE_TEMPLATE.md Add project files. May 4, 2016
LICENSE Add project files. May 4, 2016
README.md Search entire project for directives/components May 5, 2016
Vue.js Pack.sln
appveyor.yml Updates May 25, 2016

README.md

Vue.js Pack

Build status

Download this extension from the VS Gallery or get the CI build.


Contains HTML Intellisense and code snippets for the Vue.js JavaScript library

See the changelog for changes and roadmap.

Features

  • .vue files are mapped to open in the HTML editor
  • HTML Intellisense for built-in directives
  • HTML Intellisense for custom directives and components
  • File icon for .vue files
  • JavaScript snippets

Directives Intellisense

Built in directives are shown in Intellisense to make it easier to write an to avoid typos.

Any directive or component defined in any .vue or .js file in the project will be show up in Intellisense.

Built in directives

HTML Intellisense

Special elements

HTML Intellisense partial

Custom components/elementDirectives

HTML Intellisense components

Custom directives

HTML Intellisense directives

File icon

Solution Explorer correctly displays a file icon for .vue files.

File icon

JavaScript snippets

A few handy snippets are available to speed up boilerplating of vew models, filters and directives.

vue (view model)

var vm = new Vue({

    el: "#app"

})

vued (directive)

Vue.directive('my-directive', {

    bind: function () {
        // content
    },

    update: function (value) {
        // content
    },

    unbind: function () {
        // content
    }
})

vuef (filter)

Vue.filter('my-filter', function (value) {

    $end$

})

Here's what it looks like in the Code Snippets Manager.

Snippets

Contribute

Check out the contribution guidelines if you want to contribute to this project.

For cloning and building this project yourself, make sure to install the Extensibility Tools 2015 extension for Visual Studio which enables some features used by this project.

License

Apache 2.0

You can’t perform that action at this time.