• Default:

    This option lets you define aliases to directories within your project (in addition to the ones above). These aliases can be used within your JavaScript and CSS.

    components/example.vue

    alias - 图2

    If you are using TypeScript and want to use the alias you define within your TypeScript files, you will need to add the aliases to your object within .