All Projects → fingerpan → vue-cli-plugin-dll

fingerpan / vue-cli-plugin-dll

Licence: MIT License
Vue CLI 3 plugin for Webpack DllPlugin/DllReferencePlugin

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to vue-cli-plugin-dll

Spring Boot Vuejs
Example project showing how to build a Spring Boot App providing a GUI with Vue.js
Stars: ✭ 1,818 (+2261.04%)
Mutual labels:  vue-cli, vue-cli-plugin
Vue Cli Plugin Electron Builder
Easily Build Your Vue.js App For Desktop With Electron
Stars: ✭ 3,549 (+4509.09%)
Mutual labels:  vue-cli, vue-cli-plugin
D2 Admin
An elegant dashboard
Stars: ✭ 11,012 (+14201.3%)
Mutual labels:  vue-cli, vue-cli3
Vue Cli4 Config
vue-cli4配置vue.config.js持续更新
Stars: ✭ 2,539 (+3197.4%)
Mutual labels:  vue-cli, vue-cli3
vue3-jd-h5
🔥 Based on vue3.0.0, vant3.0.0, vue-router v4.0.0-0, vuex^4.0.0-0, vue-cli3, mockjs, imitating Jingdong Taobao, mobile H5 e-commerce platform! 基于vue3.0.0 ,vant3.0.0,vue-router v4.0.0-0, vuex^4.0.0-0,vue-cli3,mockjs,仿京东淘宝的,移动端H5电商平台!
Stars: ✭ 660 (+757.14%)
Mutual labels:  vue-cli, vue-cli3
vue-cli-plugin-docker
🐳 Dockerize your vue app
Stars: ✭ 23 (-70.13%)
Mutual labels:  vue-cli, vue-cli-plugin
d-l-l
Simplified DLL config creator & handler
Stars: ✭ 27 (-64.94%)
Mutual labels:  dll, dllplugin
vue-cli-plugin-material
[UNMAINTAINED] Vue CLI 3 plugin for MDC Web and Vue MDC Adapter with Sass support
Stars: ✭ 15 (-80.52%)
Mutual labels:  vue-cli, vue-cli-plugin
huobi-PC
火币桌面客户端,基于electorn-vue开发
Stars: ✭ 56 (-27.27%)
Mutual labels:  vue-cli
vuelectro
Bare minimum, simplistic, production ready scaffolding/build tool for developing with Electron and Vue.Js
Stars: ✭ 19 (-75.32%)
Mutual labels:  vue-cli
go-project-template
A template for new Go projects.
Stars: ✭ 20 (-74.03%)
Mutual labels:  vendor
vue-cnode
cnode build by vue2
Stars: ✭ 13 (-83.12%)
Mutual labels:  vue-cli
small-gd-mods
small collection of mods for geometry dash
Stars: ✭ 39 (-49.35%)
Mutual labels:  dll
nuxt-typescript-template
Handy starter for Nuxt 2 + TypeScript
Stars: ✭ 11 (-85.71%)
Mutual labels:  vue-cli
vue-home
前后端完全分离--移动端基于vue+vant-ui+vue-cli 解决方案
Stars: ✭ 19 (-75.32%)
Mutual labels:  vue-cli
Code-VueWapDemo
“Vue教程--Wap端项目搭建从0到1”的源码
Stars: ✭ 19 (-75.32%)
Mutual labels:  vue-cli
shogi-player
将棋の棋譜を再生したり盤面を編集したりします
Stars: ✭ 42 (-45.45%)
Mutual labels:  vue-cli
foo drpc
Foobar2000 music status for Discord Rich Presence!
Stars: ✭ 83 (+7.79%)
Mutual labels:  dll
electron-vue-cli3
electron和vue cli3的基础开发示例
Stars: ✭ 33 (-57.14%)
Mutual labels:  vue-cli3
cloudMusic
(移动端)Vue2.0+Nodejs网易云音乐,网易云音乐api强力驱动,高音质破解(持续更新中)
Stars: ✭ 14 (-81.82%)
Mutual labels:  vue-cli

vue-cli-plugin-dll vue-cli3 npm npm

This is a vue-cli 3.x plugin for webpack Dll-Plugin that can drastically improve build time performance. vue-cli-plugin-dll plugin register dll instruction to avoid adding extra webpack config file, it also insert DllReferencePlugin and inject chunk files automatically when you run dev/build directives.

English | 中文

Quick Start

Make sure you have the vue-cli 3.x.x version installed

$ vue -V

Install plugin

$ vue add dll

# OR

$vue invoke dll

Simple configuration

// vue.config.js

 module.exports = {
    pluginOptions: {
        dll: {
            entry: ['vue', 'vue-router'],
            cacheFilePath: path.resolve(__dirname, './public')
        }
    }
 }

Execution

$ npm run dll

#OR

$ npx vue-cli-service dll

Configuration

Options

Parame Type Description Default Required
entry Object/Array/String entry vendor null true
open Boolean whether to add DllReferencePlugin plugin true false
output Object output false
output.path String The output directory as an absolute path 'yourProjectPath/public/dll' false
output.publicPath Srting publicPath '' false
inject Boolean auto inject file to index.html true false
cacheFilePath String The path that save vender path 'yourProjectPath/node_modules/vue-cli-plugin-dll/src' false

vue.config.js

module.exports = {
  // Other options...

  pluginOptions: {
     dll: {
      entry: ['vue'],

      /**
       * the directory path where the vendor files will be generated in 
       * when running vue-cli-service dll
       */
      output: path.join(__dirname, './public/dll'),

      // If you only want to open `dll plugin` during production build, 
      // you can use the following config:
      open: process.env.NODE_ENV === 'production',

      // !! Recommended configuration
      cacheFilePath: path.resolve(__dirname, './public')
    }
  }
}

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].