mbox icon indicating copy to clipboard operation
mbox copied to clipboard

Add mbox to npm registry

Open kounelios13 opened this issue 6 years ago • 3 comments

Hello.I've been using mbox in some of my projects and I was wondering if it would be possible to publish mbox as an npm package

kounelios13 avatar Oct 31 '17 08:10 kounelios13

I've never used npm for things other than node.js modules. How does npm for web stuff work?

realtux avatar Nov 02 '17 15:11 realtux

You just install the packages you want.It will install whatever you want into the node_modules .Then in your html file you can link to mbox folder insidenode_modules like this:

<head>
  <script src="./node_modules/mbox-maker/mbox.min.js"></script>
</head>

kounelios13 avatar Nov 02 '17 15:11 kounelios13

I think that you can add materialize-css as a dependency too

kounelios13 avatar Nov 02 '17 15:11 kounelios13