Skip to content

Documentation: need to explain how used vue.config.js in different build modes #2327

Closed
@vagrantir

Description

@vagrantir

What problem does this feature solve?

No any explanation in docs, why in "build --mode development" ignored vue.config.js file.
And how developer can build app with bundled assets and enabled vue-dev-tools

What does the proposed API look like?

vue.config.js:

module.exports = {
...
    outputDir: 'dist',
    assetsDir: 'app',
    indexPath: 'app.html',
...
}

Run:
# vue-cli-service build --mode development
Result:

/dist
/dist/app.html
/dist/app/js
/dist/app/css
/dist/app/img

Metadata

Metadata

Assignees

Labels

documentationneeds team reproWe acknowledged your report and will soon try to reproduce it

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions