lundi 31 août 2015

How to consume npm react-art module without bundling?

There is no CDN for React-art library. So, I installed it via npm install react-art in the local asp.net project.

In the cshtml file where I use the ReactART object, I used the following script:

  <script src="http://ift.tt/1KXYNNU"></script>
  <script src="http://ift.tt/1ERkbBe"></script>
  <script src="http://ift.tt/1jyb1yI"></script>
  <script src="http://ift.tt/1JmkwQq"></Script>
  <script src="http://ift.tt/1KXYPp8"></script>
  <script src="..\..\node_modules\react-art\lib\reactart.js"></script>

But I can't get the reference to the ReactART object.

How can I consume react-art and it's dependencies?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire