Download the PHP package fritak/nette-dynamic-loader without Composer
On this page you can find all versions of the php package fritak/nette-dynamic-loader. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download fritak/nette-dynamic-loader
More information about fritak/nette-dynamic-loader
Files in fritak/nette-dynamic-loader
Package nette-dynamic-loader
Short Description Dynamic loader for nette, using bower.
License MIT
Homepage https://github.com/Fritak/nette-dynamic-loader
Informations about the package nette-dynamic-loader
nette-dynamic-loader
This is a dummy dynamic loader for nette.
Getting started
-
Download all plugins via bower, install in PATH: PLUGIN_NAME/css and PLUGIN_NAME/js (Unfortunately, there is currently no other path possible) You can do it nicely with Bower installer (bower.json):
-
Prefered install method is via composer
-
Register at config.neon with parameters a for caching
-
Create component (eg. in BasePresenter)
-
Add control to a template (eg. @layout)
-
And that's it! You can control it with following config:
-
You can set default plugins global
-
Or in groups. But then you have to set GROUP to a component.
-
If you set defaultPlugins, others won't be loaded. So you have to set them manually in presenters (eg. in HomepagePresenter):
- And edit basePresenter: