I'd love to be be able to use the following:
<modal name="userLogin" :scrollable="true" width="100vw" height="100vh"></modal>
for a full-screen modal that I need to replicate in my design.
I get the following error:

Is there any reason not to allow those units?
Thanks!
if you will implement it - go for it. Those are not css values. width/height are recalculated if your modal draggable or resizable, or your screen size changes. It is more like "suggestion" to the modal, but the plugin itself has "fool" protection to make sure that, for example, your modal will not be bigger than screen or will not fly outside the viewport.
Those are not css values.
Those are totally legit values. I use vh and vw for my modals too, and since CSS is for styling and not code, I use !important to override what vue-js-modal is doing, like so:

Perfectly centered, dynamic modals via flexbox 馃帀. There's no reason to force users to specify exact pixel widths and heights for a modal in this day and age.
Most helpful comment
Those are totally legit values. I use
vhandvwfor my modals too, and since CSS is for styling and not code, I use!importantto override whatvue-js-modalis doing, like so:Perfectly centered, dynamic modals via flexbox 馃帀. There's no reason to force users to specify exact pixel widths and heights for a modal in this day and age.