Vuejs templates for IntelliJ IDEA and Webstorm
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
settings
src
.gitignore
README.md
build.bat
extract.bat
settings.jar

README.md

idea-vue-templates

Vuejs 2 live templates for IntelliJ IDEA and Webstorm. All the templates assume you're using a transplier for ECMAScript 2015.

Vue Component

Installation

Download settings.jar and import it using File->Import Settings.

Available templates

List with available templates abbreviations:

  • vuec - Generates Vue component (for .vue files)
  • vued - Vue directive
  • vuex - Vue store module
  • vuexi - Vue store index file

More

  • It's highly recommended to install Vue.js IDEA plugin. IDEA 17 comes with built in Vue.js support. Install the official plugin.

  • Components template is configured to work with SASS. Example Webpack configuration for SASS and Laravel (place this in webpack.config.js at root):

    module.exports = {
    	vue: {
    		loaders: {
    			js: 'buble-loader',
    			scss: 'vue-style-loader!css-loader!sass-loader'
    		}
    	}
    }