Skip to content

Add configuration examples section #1779

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

Merged
merged 2 commits into from
Jul 10, 2018
Merged

Add configuration examples section #1779

merged 2 commits into from
Jul 10, 2018

Conversation

betweenbrain
Copy link
Contributor

@betweenbrain betweenbrain commented Jul 6, 2018

@LinusBorg
Copy link
Member

I like this.

While the Guide contains a few examples of the general approach, there sure are some adjustments that people tend to ask for quite often, so a collection of those does make sense.

:::
## Disable Generating index.html
When using Vue CLI with an existing backend, you may need to disable the generation of `index.html` so that they generated assets can be used with another default document. To do so, the following can be added to `[vue.config.js](https://cli.vuejs.org/config/#vue-config-js)`:

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I should be noted that --modern mode doesn't work without the html-webpack-plugin.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I have added a warning about that.

@Akryum Akryum dismissed LinusBorg’s stale review July 10, 2018 23:32

Requested changes done

@Akryum Akryum merged commit c6b06ec into vuejs:dev Jul 10, 2018
@betweenbrain betweenbrain deleted the patch-1 branch January 17, 2019 16:34
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

Successfully merging this pull request may close these issues.

3 participants