Vuejs 2 live templates for IntelliJ IDEA and Webstorm. All the templates assume you're using a transplier for ECMAScript 2015.
Download settings.jar
and import it using File->Import Settings.
List with available templates abbreviations:
vuec
- Generates Vue component (for .vue files)vued
- Vue directivevuex
- Vue store modulevuexi
- Vue store index file
-
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' } } }