javascript - Including Styles Across Apps in Derby.js -
in derby.js app, trying install skeleton through bower , include in derby apps. know how include styles within single app, can registered apps @ once?
for instance if had following apps:
+ apps - login - myapp - error
how add required stylesheets apps, without having explicitly call app.loadstyles(...)
in each one?
each app need call loadstyles. derby bundles apps individually , serves bundle when using app.
you can bypass derby's style loading , reference global styles might other 3rd party style sheet in element of html. can accomplish shared view wont less typing.
what motivation? avoiding more boiler plate?
Comments
Post a Comment