Jump to content

Module auto add scripts styles


Soma
 Share

Recommended Posts

Shouldn't a module add a .css or .js named same as the module automaticly?

It strikes me again, that I added a ModuleName.css to the module folder assuming it get's added automaticly, but it does not. Not first time I struggle with something that should be simple. :)

Edit: The module is autoload and is extends WireData implements Module. (of course in the admin, not frontend. In case anyone wondering)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...