3.5.26 • Published 1 year ago

@vui-admin/build v3.5.26

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

Vui Build

Install

Install via NPM

npm i @vui-admin/build

Install via pnpm

pnpm i @vui-admin/build

Usage

vue.config.js

const { defineConfig } = require('@vue/cli-service')
const { webpackBuild } = require('@vui-admin/build')
// Load on demand with vui components
const VuiResolver = require('@vui-admin/ui/VuiResolver')
// Use the version number directly from the package
const { version } = require('./package.json')

// Project Catalog
const projectsDir = 'apps'

module.exports = defineConfig(
  webpackBuild({
    // Project settings (required)
    project: {
      // For console output
      title: 'VUIADMIN',
      dir: projectsDir,
      consoleBeforeBg: '#1D4ED8',
      consoleAfterBg: '#3B82F6',
    },
    // Version number
    version,
    // d.ts export directory
    dts: './',
    // Generate SourceMap
    productionSourceMap: false,
    // Package Auto Import
    autoImportResolvers: [],
    // Component packages are imported automatically
    componentsResolvers: [VuiResolver()],
    // Setting Alias
    alias: {
      '~': '.',
      '@': projectsDir,
      '@common': 'common',
      vueI18n: ['vue-i18n/dist/vue-i18n.cjs.js', true],
    },

    // bundleAnalyzer: true,
    /** *************Can be customized according to requirements******************** */
    // publicPath: '../',
    // publicPath           Basic path
    // assetsDir            Set the path where the static resources generated by the package are placed
    // outputDir            Output file directory
    // componentsDirs       Local component directory path
    // autoImportDirs       Path to the local directory for automatic import
    // imports              Which files need to be imported automatically
    // vConsole             Enable vConsole.
    // plugins              webpack plugin configuration
  })
)

Props

NameTypeDefault
publicPathString''
assetsDirString'static'
outputDirStringinherit
componentsDirsArray[]
autoImportDirsArray[]
importsArray[]
dtsString''
versionString''
3.5.19

1 year ago

3.5.18

1 year ago

3.5.17

1 year ago

3.5.25

1 year ago

3.5.24

1 year ago

3.5.23

1 year ago

3.5.22

1 year ago

3.5.21

1 year ago

3.5.20

1 year ago

3.5.26

1 year ago

3.5.16

1 year ago

3.5.14

2 years ago

3.5.13

2 years ago

3.5.12

2 years ago

3.5.11

2 years ago

3.5.10

2 years ago

3.5.15

2 years ago

3.5.9

2 years ago

3.5.8

2 years ago

3.3.9

2 years ago

3.3.8

2 years ago

3.4.25

2 years ago

3.4.26

2 years ago

3.4.20

2 years ago

3.4.21

2 years ago

3.4.22

2 years ago

3.4.23

2 years ago

3.4.24

2 years ago

3.5.3

2 years ago

3.5.2

2 years ago

3.5.1

2 years ago

3.5.0

2 years ago

3.5.7

2 years ago

3.5.6

2 years ago

3.5.5

2 years ago

3.5.4

2 years ago

3.4.14

2 years ago

3.4.0

2 years ago

3.4.15

2 years ago

3.4.16

2 years ago

3.4.17

2 years ago

3.4.18

2 years ago

3.4.4

2 years ago

3.4.19

2 years ago

3.4.3

2 years ago

3.4.2

2 years ago

3.4.1

2 years ago

3.4.10

2 years ago

3.4.11

2 years ago

3.4.12

2 years ago

3.4.13

2 years ago

3.4.8

2 years ago

3.4.7

2 years ago

3.4.6

2 years ago

3.4.5

2 years ago

3.4.9

2 years ago

3.3.7

2 years ago

3.3.6

2 years ago

3.3.5

2 years ago

3.2.6

2 years ago

3.2.9

2 years ago

3.2.8

2 years ago

3.2.7

2 years ago

3.3.1

2 years ago

3.2.13

2 years ago

3.3.0

2 years ago

3.2.12

2 years ago

3.2.15

2 years ago

3.2.14

2 years ago

3.3.4

2 years ago

3.3.3

2 years ago

3.3.2

2 years ago

3.2.11

2 years ago

3.2.10

2 years ago

3.1.12

2 years ago

3.1.11

2 years ago

3.1.14

2 years ago

3.1.16

2 years ago

3.1.15

2 years ago

3.1.18

2 years ago

3.1.17

2 years ago

3.1.10

2 years ago

3.1.9

2 years ago

3.2.2

2 years ago

3.1.23

2 years ago

3.2.1

2 years ago

3.1.22

2 years ago

3.2.0

2 years ago

3.1.25

2 years ago

3.1.24

2 years ago

3.2.5

2 years ago

3.2.4

2 years ago

3.2.3

2 years ago

3.1.21

2 years ago

3.1.20

2 years ago

3.1.19

2 years ago

3.0.24

2 years ago

3.0.22

2 years ago

3.1.8

2 years ago

3.1.3

2 years ago

3.1.2

2 years ago

3.1.1

2 years ago

3.1.0

2 years ago

3.1.7

2 years ago

3.1.6

2 years ago

3.1.5

2 years ago

3.1.4

2 years ago

3.0.21

2 years ago

3.0.17

2 years ago

3.0.20

2 years ago

3.0.18

2 years ago

3.0.19

2 years ago

3.0.12

2 years ago

3.0.13

2 years ago

3.0.10

2 years ago

3.0.11

2 years ago

3.0.16

2 years ago

3.0.8

2 years ago

3.0.7

2 years ago

3.0.14

2 years ago

3.0.6

2 years ago

3.0.15

2 years ago

3.0.9

2 years ago

3.0.5

2 years ago

3.0.4

2 years ago

3.0.3

2 years ago

3.0.2

2 years ago

3.0.1

2 years ago

3.0.0

2 years ago