admin管理员组文章数量:1362778
In Loader function i'm not able to see console result anywhere even in vscode terminal where my remix shopify hydrogen project is running.
Here is my source code:
import { categories } from "~/utils/categories";
import { json, type LoaderFunctionArgs } from '@shopify/remix-oxygen';
import { useState } from "react";
// Loader function
export async function loader({params, context}: LoaderFunctionArgs) {
console.log(" Inside loader function ");
const {data} = await context.storefront.query(SEARCH_QUERY, {
variables: {searchTerm: 'shirt'},
});
console.log("
本文标签:
remix shopify hydrogen Loader function console not showing anywhereStack Overflow
版权声明:本文标题:remix shopify hydrogen Loader function console not showing anywhere - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人,
转载请联系作者并注明出处:http://www.betaflare.com/web/1743823474a2545212.html,
本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论