mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-02 14:27:40 +00:00
Use '@' path mapping (#94)
This commit is contained in:
@@ -3,7 +3,7 @@ import { applyClasses, ClassList, toggleElement } from "../utils";
|
||||
import { prop } from "../../utils";
|
||||
import type { ComfyPopup } from "./popup";
|
||||
import type { ComfyComponent } from ".";
|
||||
import type { ComfyApp } from "scripts/app";
|
||||
import type { ComfyApp } from "@/scripts/app";
|
||||
|
||||
type ComfyButtonProps = {
|
||||
icon?: string;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { ComfyApp } from "scripts/app";
|
||||
import type { ComfyApp } from "@/scripts/app";
|
||||
import { api } from "../../api";
|
||||
import { $el } from "../../ui";
|
||||
import { downloadBlob } from "../../utils";
|
||||
|
||||
@@ -4,7 +4,7 @@ import { api } from "../../api";
|
||||
import { ComfySplitButton } from "../components/splitButton";
|
||||
import { ComfyQueueOptions } from "./queueOptions";
|
||||
import { prop } from "../../utils";
|
||||
import type { ComfyApp } from "scripts/app";
|
||||
import type { ComfyApp } from "@/scripts/app";
|
||||
|
||||
export class ComfyQueueButton {
|
||||
element = $el("div.comfyui-queue-button");
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { ComfyApp } from "scripts/app";
|
||||
import type { ComfyApp } from "@/scripts/app";
|
||||
import { $el } from "../../ui";
|
||||
import { prop } from "../../utils";
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { ComfyApp } from "scripts/app";
|
||||
import type { ComfyApp } from "@/scripts/app";
|
||||
import { ComfyButton } from "../components/button";
|
||||
import { ComfyViewList, ComfyViewListButton } from "./viewList";
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ import { ComfyButton } from "../components/button";
|
||||
import { $el } from "../../ui";
|
||||
import { api } from "../../api";
|
||||
import { ComfyPopup } from "../components/popup";
|
||||
import type { ComfyApp } from "scripts/app";
|
||||
import type { ComfyApp } from "@/scripts/app";
|
||||
|
||||
type ViewListMode = "Queue" | "History";
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { ComfyButton } from "../components/button";
|
||||
import { ComfyViewList, ComfyViewListButton } from "./viewList";
|
||||
import { api } from "../../api";
|
||||
import type { ComfyApp } from "scripts/app";
|
||||
import type { ComfyApp } from "@/scripts/app";
|
||||
|
||||
export class ComfyViewQueueButton extends ComfyViewListButton {
|
||||
constructor(app: ComfyApp) {
|
||||
|
||||
@@ -6,7 +6,7 @@ import { ComfyPopup } from "../components/popup";
|
||||
import { createSpinner } from "../spinner";
|
||||
import { ComfyWorkflow, trimJsonExt } from "../../workflows";
|
||||
import { ComfyAsyncDialog } from "../components/asyncDialog";
|
||||
import type { ComfyApp } from "scripts/app";
|
||||
import type { ComfyApp } from "@/scripts/app";
|
||||
import type { ComfyComponent } from "../components";
|
||||
|
||||
export class ComfyWorkflowsMenu {
|
||||
|
||||
Reference in New Issue
Block a user