上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 25 下一页
摘要: # Npm npm install dotenv --save # Yarn yarn add dotenv index.js: const dotenv = require("dotenv") dotenv.config() 在程序中尽早添加 dotenv.config() 这一行,以确保所有代码 阅读全文
posted @ 2022-01-14 15:43 柯宝宝智商感人 阅读(1154) 评论(0) 推荐(0) 编辑
摘要: .env shopify 商店应用配置,决定本项目属于哪个商店的哪个应用 SHOPIFY_API_KEY=20e29ab6a9ea6f3f1979c459eadeee11 SHOPIFY_API_SECRET=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 SHOP=k 阅读全文
posted @ 2022-01-04 09:11 柯宝宝智商感人 阅读(131) 评论(0) 推荐(0) 编辑
摘要: import React, { Component } from "react"; import Child from "./Child"; // 错误边界 export default class Parent extends Component { state = { hasError: '', 阅读全文
posted @ 2022-01-03 14:25 柯宝宝智商感人 阅读(180) 评论(0) 推荐(0) 编辑
摘要: yarn add babel-plugin-import 或者 npm install babel-plugin-import //在craco.config,.js里加上 babel:{ plugins: [ ["@babel/plugin-proposal-decorators", { lega 阅读全文
posted @ 2021-12-30 17:01 柯宝宝智商感人 阅读(321) 评论(0) 推荐(0) 编辑
摘要: pubsubjs : 消息订阅 prop-types: prop类型检测 material-ui:国外常用的ui框架 antd: 国内常用的UI框架 redux-devtools: 谷歌浏览器插件,监听redux数据, 需要在项目中配合包: redux-devtools-extension,再在st 阅读全文
posted @ 2021-12-28 10:23 柯宝宝智商感人 阅读(57) 评论(0) 推荐(0) 编辑
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 25 下一页