forked from scaffold-eth/scaffold-eth-2
-
Notifications
You must be signed in to change notification settings - Fork 11
Closed
Description
This is something we have been balancing out from the beginning with templates files (total customization VS being super strict). I think we should be more clear about what you can customize and what not.
(this conversation was sparked after #167 and similar issues).
An initial approximation:
- We allow total configuration on config objects (tailwind, scaffold, harhat, etc). Ideally we will have a merge object system that allows you to tweak/extend/override any nested prop in the config object.
- Index front-end page... maybe we should allow rewrite it completly? Or it might be too crazy? This could be an extra
fullContentparam (if set, it overrides the content of theHome: NextPagecomponent), but you can still use the existing ones. - Main READMEs might be another good one too. Maybe we should allow change almost everything there?
- We are restrictive (only thru templates args) with things that we don't want people to completly rewrite (e.g. Header.tsx)
- We don't allow rewriting certain components / pages at all (everything that's not a template )
We also need to consider breaking changes (it might be fine for now if we have to rewrite some stuff on curated extensions).
These are some initial thoughts... very open. Maybe we could make a list grouping templates in categories (total customization vs param customization)
Let's discuss!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels