-
Notifications
You must be signed in to change notification settings - Fork 129
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
add templates parameter #1510
Comments
You can use a small Components.js configuration for this using Components.js new override feature. Specifically, the pod template folder is defined here:
You could create a new Components.js config that overrides that template folder like so:
You could then start the server with |
Thanks I shall try it. |
Works perfectly. |
Yes, this is a new feature that was just added in v5.1.0. Note that this solution can break on a new major version release as config structure might change meaning the solution will have to adapt then. |
Feature description
To create pods with a different templates than the default one.
This is basically the case when using mashlib.
Actually the only way to import a templates-folder is by making a
cp -r templates-folder/ node_modules/@solid/communitys-server/
This works but is not very friendly and need to be redone each time
node_modules
are updated or rebuild withnpm ci
Adding a parameter would make it much easier.
The text was updated successfully, but these errors were encountered: