Skip to content

ttskp/module-structure-lang-vue

Folders and files

NameName
Last commit message
Last commit date
Nov 4, 2021
Jan 22, 2019
Nov 4, 2021
Apr 18, 2020
Apr 18, 2020
Apr 18, 2020
Jan 22, 2019
Dec 6, 2021
Nov 8, 2021
Jan 22, 2019
Jan 22, 2019

Repository files navigation

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