log-oscon / generator-log-wp-plugin

Yeoman generator for a new WordPress plugin.
GNU General Public License v2.0
6 stars 3 forks source link

Implement a base for assets #2

Closed xipasduarte closed 7 years ago

xipasduarte commented 7 years ago

The assets folder should be present, even without a gulp (or any other builder) present. Choose a folder name that aligns both Themes and Plugins.

Suggestion:

src/scripts => public/ src/styles => public/ src/images => public/images

Frontend: plugin-slug.css|js Backend: plugin-slug-admin.css|js

Narayon commented 7 years ago

This should not be the common behavior because some plugins don't have assets.
A sub-generator is already on the roadmap, so I'm closing this issue.