-
Notifications
You must be signed in to change notification settings - Fork 342
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugins and Lifecycle #665
Comments
With the right lifecycle hooks issues like #517 could be more rapidly addressed and evaluated. Additionally, in the above case having lifecycle hooks could let folks start with sensible defaults and replace some operations if they would prefer operations to preform differently than the default |
@jdcauley Thanks for starting this discussion. I definitely think there are things we can do. I like your idea of starting with the use cases...
Thats all I got for now. The most important thing to me is harp remains small and is good enough without the use of any plugins or extensions. It might be helpful to make a list of all the most popular plugins from other systems (by number of downloads). Is that something you want to take on? |
Example integrations/customizations file for an 11ty build: https://github.com/jdcauley/eleventy-starter-ghost/blob/master/.eleventy.js I know this might sound insane, but I genuinely think that WordPress' hooks system would not be a bad way to think about these types of manipulations. |
In issue #664 I mentioned how nice it could be to support plugins via possibly lifecycle hooks.
I'm opening this issue to continue the discussion.
Use Cases
11ty provides a plugin model that could be evaluated for its merits, the biggest frustration I had with 11ty is that it was very extendable but the initial start up curve was steeper than I expected.
Being able to start with something simple and light weight as starting a harp project but being able to also implement plugin capabilities would make it hard to be in my opinion.
The text was updated successfully, but these errors were encountered: