Skip to content
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

Support for template composition #47

Open
hhimanshu opened this issue May 1, 2024 · 3 comments
Open

Support for template composition #47

hhimanshu opened this issue May 1, 2024 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@hhimanshu
Copy link

Hey, I found your project to be useful. I was wondering if there is a way to say template="tailwind" && template="content"

@cezaraugusto
Copy link
Owner

cezaraugusto commented May 1, 2024

Not possible, but that's a great idea!

Steps to get it done:

  1. Have a new "content-tailwind" template within the templates folder. There is a react-typescript template at the moment that can be used as a reference, as it uses a content_script file with Tailwind.css.

The react-typescript template

  1. in the --template flag argument, replace any , input value with -, and sort alphabetically. This will make --template=tailwind,content into content-tailwind. If step 1) is done, it should call the template just fine.

  2. Update the Templates doc to include the new template

I'm currently focused on adding more browser and framework support, but would be great to see this in the future. Will set this as open for grabs :)

@cezaraugusto cezaraugusto added good first issue Good for newcomers enhancement New feature or request labels May 1, 2024
@cezaraugusto
Copy link
Owner

@OSpoon is this something you would be interested to implement?

@OSpoon
Copy link
Collaborator

OSpoon commented Jun 11, 2024

@OSpoon is this something you would be interested to implement?

I am interested,I will try to implement this feature in my free time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants