vue config file code example Example: where to place vue.config.js Place it next to your package.json file in the root folder of your project.