Vue.js component boilerplate

script^template>div^style[scoped]
This string should be used with emmet plugin. Paste it in a .vue file, bring the cursor to the end of the string and hit 'tab' in the keyboard.

Tip: in Sublime Text turn it into a snippet so you can add the string to the file with a shortcut.

Important: "Why you don't simply add the markup to the snippet above?". I am using a string for emmet so people can learn how to use it! And because this is the way I do in a daily basis! =)

1 Response

Emmet é vida!

Write a comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.