module-structure-lang-vue

npm Version

Vue language provider for module-structure.

See module-structure for full documentation.

Installation

This extension is optional and not bundled with module-structure, therefore requires separate installation. Local and global installation is supported.

After installation of this extension, it is automatically detected by module-structure and used for analyzing Vue single file component dependencies.

Config

To set custom settings, create a .module-structure.js in your root folder, like .eslintrc.js or babel.config.js. Add the config parameter under the key "module-structure-lang-vue"

Example:


module.exports = {
 'module-structure-lang-vue': {
   webpackConfig: "path/to/your/project/webpack/config.js"
 }
};

Config parameter:

webpackConfig Use the webpack config to resolve webpack aliases.

Credits

@vue/component-compiler-utils homepage  -  show license
enhanced-resolve homepage  -  show license
konan homepage  -  show license
@typescript-eslint/typescript-estree homepage  -  show license
vue-template-compiler homepage  -  show license

License

MIT