Skip to content

yarn serve failed after adding resolve option in vue.config.js vue cli 3 #3724

@lotfikamel

Description

@lotfikamel

i'm triying to create an alias in vue.config.js :
var path = require('path');

module.exports = {

resolve : {

	alias : {
		'core' : path.resolve(__dirname, '../core')
	}
}

}

then i run : yarn serve

and this is the result :

ERROR Invalid options in vue.config.js: "resolve" is not allowed

please help !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions