alexjoverm / v-runtime-template

Vue component for compiling templates on the fly using a v-html like API
MIT License
605 stars 70 forks source link

How can I debug demo code on my computer? #7

Closed glikoz closed 6 years ago

glikoz commented 6 years ago

I know question is a little of-topic, but I admired your work, you are filling the most important point for me. I want to extend your code with router and vuex implemantation:

(I saw vue-router dependency on demo code but it is not used)

But I could not run demo code on my local machine npm run npm start yarn start static-serve vue-serve no one works, how can I debug demo code from my computer.

alexjoverm commented 6 years ago

Easiest way:

// package.json
{
    "scripts": {
        "dev": "parcel index.html"
    }
}

And run npm run dev.

Another option: create a new project using vue-cli and copy the App.vue and AppMessage.vue components