Vue Package duplicate CSS files and non ejs-vue dependencies inside ejs-vue modules

I'm experiencing two strange things in our package and I am wondering if these are issues, or if there's a reason behind it.

  1. When we add certain Vue modules to our build, it includes non-vue ejs modules (eg: ej2-inputs).  Since these are Vue modules, should they not include the Vue versions of dependencies?
  2. In our compiled package we are seeing what appears to be duplicate css files. in various modules including:
  • ej2-inputs / ej2-vue-inputs (material.css)
  • ej2-navigations / ej2-vue-navigations (material.css)
  • ej2-buttons / ej2-vue-buttons (material.css)
  • ej2-popups / ej2-vue-popups (material.css)
If issue #1 is a problem, solving it might also solve #2.

Attachment: Capture_dd14660c.zip

1 Reply

GV Gokulraj Varatharajan Syncfusion Team June 2, 2022 01:22 PM UTC

Hi Damien,


Greetings from Syncfusion support,


We have verified your query and the ej2-inputs / ej2-vue-inputs (material.css) are not duplicate packages. While using the Vue component it’s advisable to use ej2-vue packages (e.g ej2-vue-button). But both are the same only. It won’t occur any issue while using either of these.


When installing the Vue packages it’s automatically installed the dependent packages and the ej2 packages also. The common things are maintained in the ej2 packages only.


Please get back to us if you have any queries.


Regards,

Gokul


Loader.
Up arrow icon