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

Question about the new tab feature #114

Closed
LucaCuello opened this issue May 17, 2023 · 3 comments
Closed

Question about the new tab feature #114

LucaCuello opened this issue May 17, 2023 · 3 comments

Comments

@LucaCuello
Copy link

Hi! I've discovered this template just now. Been testing it and I love it so far! It's sooooo helpful.
I have a noobie question tho, what's the point of the new tab feature? I want to build an extension but I don't want the extension itself to replace the content of the new tab when a users installs it. Is there a way to disable this?

@github-actions
Copy link

Thank you for your contribution. We will check and reply to you as soon as possible.

@Jonghakseo
Copy link
Owner

Remove the new tab from the manifest and remove all components of the new tab folder. It's that simple.

delete below codes

manifest.ts L:20~22

chrome_url_overrides: {
    newtab: "src/pages/newtab/index.html",
  },

vite.config.ts L:53

        newtab: resolve(pagesDir, "newtab", "index.html"),

And re-install extension!

@LucaCuello
Copy link
Author

Damn, I'm feeling so dumb rn lol
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants