Skip to content

Instantly share code, notes, and snippets.

@eirikb eirikb/
Last active Aug 9, 2016

What would you like to do?
vuetwo demo
npm i
npm start


import Vue from 'vue'
import App from './app.vue'
new Vue({
el: '#app',
render: h => h(App)
<b>Hello, {{test}}!</b>
<style lang="less">
div {
b {
color: blue;
<script type="text/babel">
import Child from './Child.vue'
export default {
components: {Child},
data() {
return {
test: `world`
<b>I am child</b>
<style scoped="true" lang="sass">
b {
color: red;
<!DOCTYPE html>
<div id="app"></div>
<script src="build.js"></script>
"name": "demo",
"scripts": {
"server": "lite-server",
"watch": "vuetwo app.js build.js -w",
"start": "npm-run-all --parallel server watch"
"dependencies": {
"lite-server": "^2.2.2",
"npm-run-all": "^2.3.0",
"vuetwo": ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.