v-calendar.umd.js is too big

Created on 14 Aug 2019  路  4Comments  路  Source: nathanreyes/v-calendar

vue version: 2.6.10
v-calendar version: 1.0.0-beta.14
webpack: 4.28.4
babel:7.4.3

Currenctly, i am only using calendar component, however, i must import the all modules to make it work.

I'm hoping to only load the required component instead of the whole components.
That is the right direction to go.
Looking forward for your reply!

enhancement

Most helpful comment

We are running into the same problem. The bundle size is larger than our entire app. Are there any ways to reduce this?

All 4 comments

The next beta dynamically loads calendar, picker and popover components so they will only get loaded when actually used.

I'm using [email protected] and the DatePicker component is 250kb minified. It's almost same as our app bundle size, is this expected @nathanreyes ?

We are running into the same problem. The bundle size is larger than our entire app. Are there any ways to reduce this?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

felixfrtz picture felixfrtz  路  3Comments

garygreen picture garygreen  路  3Comments

Maadtin picture Maadtin  路  3Comments

chrisnetonline picture chrisnetonline  路  3Comments

miralize picture miralize  路  4Comments