Skip to content

vue.config.js - use ES modules in docs #6196

Open
@Mikilll94

Description

@Mikilll94

What problem does this feature solve?

Right now in the docs vue.config.js file is using CommonJS syntax, like i.e. here
https://cli.vuejs.org/config/#global-cli-config
https://cli.vuejs.org/guide/webpack.html#simple-configuration

Screenshot 2021-01-08 at 18 34 46

Can you change these examples to use ES modules syntax? ES modules is a more modern and better syntax. Also Visual Studio Code is highlighting this CommonJS syntax with a suggestion to convert it to ES modules.

What does the proposed API look like?

Use ES modules syntax in the docs.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions