Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What for is /dist/vue.js in index.html? #4

Open
nolimitdev opened this issue Nov 27, 2019 · 0 comments
Open

What for is /dist/vue.js in index.html? #4

nolimitdev opened this issue Nov 27, 2019 · 0 comments

Comments

@nolimitdev
Copy link

Hi, thanks for great article https://www.freecodecamp.org/news/getting-started-with-vue-single-file-components-using-webpack-2ae078058688/ I would like to ask why <script type="text/javascript" src="/dist/vue.js"></script> is in index.html? It works without it well. It seems that vuejs is included in final /dist/index.js thanks to import Vue from 'vue'; in /src/index.js. So in webpack config is useless entry.vue: 'vue' which causes creating /dist/vue.js ?

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

No branches or pull requests

1 participant