I've just started to learn Vue but I simply can't set up enviroment for my container. I use Cloud9 and I have to assign my host for serving Vue app according to this link.
Unfortunately, I can't find vue.config.js
file to do this.
Also there is no path indication in Vue docs.
"if it's present in your project root..."
but what if not? Whatever, go use React? :)
Vue version: 3.1.1
See the documentation of Vue CLI:
vue.config.js
is an optional config file that will be automatically loaded by@vue/cli-service
if it's present in your project root (next topackage.json
). You can also use the vue field inpackage.json
, but do note in that case you will be limited to JSON-compatible values only.The file should export an object containing options:
// vue.config.js module.exports = { // options... }
So just create the file by yourself. It is completely optional.