-
-
Notifications
You must be signed in to change notification settings - Fork 214
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
Nested unlisted pages? #1188
Labels
Comments
<script type="module" src="./main.ts"></script> |
Yes, that's good, but I want to nest pages under auth e.g. |
import { resolve } from "node:path";
import { addEntrypoint, defineWxtModule } from "wxt/modules";
export default defineWxtModule(wxt => {
addEntrypoint(wxt, {
type: "unlisted-page",
name: "auth/login",
inputPath: resolve(wxt.config.entrypointsDir, "auth/login/index.html"),
outputDir: resolve(wxt.config.outDir),
skipped: false,
options: {}
});
addEntrypoint(wxt, {
type: "unlisted-page",
name: "auth/register",
inputPath: resolve(wxt.config.entrypointsDir, "auth/register/index.html"),
outputDir: resolve(wxt.config.outDir),
skipped: false,
options: {}
});
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is it possible to nest unlisted page in some folder? E.g. I want to include auth in my extension, so I want to add
auth
folder and inside it define all the routes, how can I do it?The text was updated successfully, but these errors were encountered: