0

I installed the noty javascript plugin with the composer.

composer require needim/noty

It installed the plugin under the /vendor/needim/noty. I would like to use the /vendor/needim/noty/lib/noty.css, and /vendor/needim/noty/lib/noty.js. How can I find them from the default ctp with HTML helpers, and load them? Or should I just copy this files into the web root and use them?

Iman Bahrampour
  • 6,180
  • 2
  • 41
  • 64
  • 1
    Possible duplicate of [Loading javascript files from the vendors in CakePHP 3](https://stackoverflow.com/questions/26736656/loading-javascript-files-from-the-vendors-in-cakephp-3) – Reactgular Nov 27 '17 at 16:31
  • Vendors exists outside the scope of the `webroot`. You either have to use a controller to send the file manually, or you copy the files as part of your install/build process. Traditionally, it's a build problem. – Reactgular Nov 27 '17 at 16:32

0 Answers0