Skip to content

New Tab #141

Sep 2, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Like you said, it is possible to open HTML files included in the extension, like your popup.html.

It's also possible to configure the plugin to build additional HTML files not listed in your manifest.json.

So you've got listed files, like your popup.html, that are listed in your manifest, and you've got unlisted files that are not listed in your manifest.json. Both listed and unlisted files are writen to the dist/ directory and can be loaded at runtime.

So what you're looking for is an unlisted HTML file.

First, create the file.

touch pages/some-page.html

Then add it to the additionalInpits plugin option.

Build the extension, and you'll see the new HTML file in your dist/ directory at dis…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@aklinker1
Comment options

@claudiojulioferraz
Comment options

Answer selected by claudiojulioferraz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants