Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

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

Open
charliejcao opened this issue Aug 12, 2019 · 0 comments
Open

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

charliejcao opened this issue Aug 12, 2019 · 0 comments

Comments

@charliejcao
Copy link

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)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant