Jonghakseo / chrome-extension-boilerplate-react-vite

Chrome Extension Boilerplate with React + Vite + Typescript
MIT License
2.06k stars 308 forks source link

Add Template Folder with Starter Projects for Advanced Development #560

Open Leizhenpeng opened 1 month ago

Leizhenpeng commented 1 month ago

Integrating monorepo and Turbo technologies provides a powerful toolchain for advanced developers, especially when creating complex browser extensions.

These users prefer the flexibility and control offered by monorepo over simpler, out-of-the-box solutions like Plasmo and WXT.

I propose adding a template folder to the project. This folder would contain a variety of starter projects, making it easier for developers to use their preferred tech stacks. For example, we could include templates like:

This addition would greatly attract our target user base, who are primarily advanced developers.

With these templates, developers can easily create new pages in the repository using their favorite technology stack. The command for generating a new workspace would look like this:

turbo gen workspace --name popup-vitesse --copy https://github.com/Jonghakseo/chrome-extension-boilerplate-react-vite/template/popup-vue
Leizhenpeng commented 1 month ago

If you are willing to introduce this issue proposal, I am very willing to open PR to contribute.

(: In fact, I have already completed the demo of vue3

Jonghakseo commented 1 month ago

If you are willing to introduce this issue proposal, I am very willing to open PR to contribute.

(: In fact, I have already completed the demo of vue3

Very good, I think your suggestions will help a lot of people!

PatrykKuniczak commented 1 month ago

@Leizhenpeng This closing also #524 ?

Overall, i propose to don't add this feature now, let's wait some time, after we create a plan for big refactor, and there we want to create small packages like NestJS have.

Then with e.g this generator people can download additional packages it they need to the core code base, we're need to simplify this template, by adding tools which improve and simplify using of this template, because now when somebody want to add next feature it's a little complicated.

Maybe you have other idea, then i'm not against this feature to add now, overall it's amazing tool :) Keep pushing 🫸

PatrykKuniczak commented 4 weeks ago

@Leizhenpeng Are you working on this?

Leizhenpeng commented 3 weeks ago

Not yet, when we clone this reponow, we will clone all the warehouses, but the version I prefer is that we will have some demo in the other warehouse, and the two warehouses are separated,

because in this way, users only use one warehouse of the smallest mvp for customers, while the other warehouse is full of er, er, template

Leizhenpeng commented 3 weeks ago

@PatrykKuniczak

PatrykKuniczak commented 3 weeks ago

template

I don't understand what you have wanted to explain 😁