visual-dev
v0.3.14
Published
plugin to facilitate project maintenance, provide document rendering, and the ability to locate components to ide
Downloads
23
Readme
Introduction
plugin to facilitate project maintenance, provide document rendering, and the ability to locate components to ide
Preview

Installation
npm i visual-dev -DUsage
webpack
// webpack.config.js
const WebpackDevToolPLugin = require('visual-dev/webpack').default;
module.exports = {
plugins: [new WebpackDevToolPLugin()],
};umi
// .umiirc.ts
plugins: [require.resolve('visual-dev/umi')];Options
webpack
module.exports = {
plugins: [new WebpackDevToolPLugin({
resolve:{
includes:[path.resolve(__dirname,'./components')] // components dir
})],
};umi
// .umiirc.ts
plugins: [require.resolve('visual-dev/umi')];
resolve:{
includes:[path.resolve(__dirname,'./components')] // components dir
},