VvvebJs icon indicating copy to clipboard operation
VvvebJs copied to clipboard

Create (NPM) package?

Open pepijndik opened this issue 4 years ago • 1 comments

Hi is it possible to create an npm package of it so that it's easer to import/require it on specific pages without the need to require all the files of the libs and js and CSS?

pepijndik avatar Dec 01 '21 12:12 pepijndik

Hi

There is a npm package at https://www.npmjs.com/package/vvvebjs but the editor can't be loaded using javascript alone, it needs the html elements of the editor to be already in the page, the html for the interface is not created from javascript. This has the disadvantage of requiring all assets but allows more flexibility and better separation of code from presentation.

givanz avatar Jan 14 '22 14:01 givanz