question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Change examples to presets

See original GitHub issue

I’ve been tracking the project and so far i’m loving it. I’ve seen that you have Storybook in mind already and i’m really hoping that it becomes first class and with that i would love to take it out for a spin and expand the tutorial to include this aswell. But i was checking the readme and the tutorial and it would be a nice feature to include in a future release the inclusion of options to the user. And by options i mean the examples you have mentioned. Probably move them into their own repos and allow the initialization process to use them.

Basically if the user issues yarn create redwood-app ./redwoodblog it wil default to the de facto setup. But if the user issues yarn create redwood-app todo ./todos it would initialize a new project based on that and the same for other existing examples and hopefully giving the option to the community to expand this and allow them to create their own templates.

With that i believe that it could mean more adoption and also allow the user/community to learn the building blocks of the framework.

Feel free to provide feedback

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:1
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
jtoarcommented, May 25, 2021

Linking issue https://github.com/redwoodjs/redwood/issues/2218 and PR https://github.com/redwoodjs/redwood/pull/2324; they’re somewhat similar to the conversation here, but have more of a contributing angle.

0reactions
jtoarcommented, May 5, 2022

This came up recently on the Discord. I believe it was @mattmurph9 who asked? Copy pasting here:

Is there a way to change the template or specify a template to use when creating an app using yarn create redwood-app? I’d like something like yarn create redwood-app --some-template and my app be generated with some different template code, maybe some base data model, already created frontend pages, something like that

The use case was multiple web apps, so maybe this could be solved via multiple sides instead, and just sharing components:

My use case is like this: I am creating multiple web applications that have some things in common. Same login page and authentication flow, same topbar, part of the data model is always the same. I’d like to build a template with:

But at least two other users joined the discussion, so it seems like there’s still some real interest here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

5 Simple ways to tweak your presets to make them work for you
Sometimes a preset that was applied could simply be enhancing a color cast in your image. Or the preset could be changing the...
Read more >
How to use presets to edit a photo - Adobe Support
Use presets to edit your photos · With a photo selected, click the Edit icon. · To preview how a preset will look...
Read more >
How to Create Presets to Quickly Edit Your Photos in Lightroom
Again, you can find example settings in the image above. ... White Balance: The white balance can change drastically depending on your location...
Read more >
121 Best Free Lightroom Presets That You Will Fall in Love With
Faded Lead is a free Lightroom preset that changes your photos into a beautiful faded look. This preset has effects that are perfect...
Read more >
What are theme "presets" or "styles" and how do I change them?
These styles (formerly called "presets") are represented by our demonstration stores. For example, the three styles for ShowTime are called ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found