http-vue-loader icon indicating copy to clipboard operation
http-vue-loader copied to clipboard

Trying to use it in Vue-Cli "boilerplate", want to know how

Open charliejcao opened this issue 6 years ago • 0 comments

Vue-Cli already installed, now I am trying to gradually get rid of node_modules with http-vue-loader (and maybe something else).

(Since the project I am working on is not available to use original way to build and deploy.)

Notice in the example of http-vue-loader, component itself needs to be wrapped in a parent div element as below:

`<div id="my-app">
  <my-component></my-component>
</div>`

And in Vue-Cli, index.html has div element without component inside: <div id="app"></div>

What is the right code modification to make it work as expected? Thanks. (I'll keep exploring myself as well)

charliejcao avatar Aug 12 '19 15:08 charliejcao