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

Add index.html default template and make public folder optional #1265

Closed
miljan-aleksic opened this issue May 11, 2018 · 2 comments
Closed

Comments

@miljan-aleksic
Copy link

What problem does this feature solve?

With vue-cli beta10 serve entry feature, vue-cli can be used in more advanced scenarios, but still is expected to provide a public/index.html template.

I would like to suggest a default html template, customized in the config, and make the entire public folder optional. With all that in place, it will be even easier to serve simple dev environment for each vue file.

@yyx990803
Copy link
Member

I'm not sure what is the reason to make public optional - can you be more specific about your use case?

@miljan-aleksic
Copy link
Author

miljan-aleksic commented May 12, 2018

Ok. Ultimately I would like to be able to use vue-cli as a background for potential vue develop focused tools of my own. A storybook, a styleguide, a playground, and so on. Currently vue-cli is focused on building Apps, but those apps need libraries and those libraries need a good dev workflow.

There are several tools that solve this dev background but most are ported from react world, loading too many dependencies, using own webpack config, not always compatible with Vue Devtools... ultimately forcing you to use some difficult to follow workarounds with duplicate build logic just to start working.

I believe vue-cli can be the abstraction that solves these dev tough parts and allow to build on top better solutions than we have now.

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

No branches or pull requests

2 participants