小编Bae*_*e18的帖子

如何从 .ps1 脚本读取 .env 文件?

我有.env一个像这样的文件:

TESTCASE_GROUP_SIZE=25
. . .
Run Code Online (Sandbox Code Playgroud)

我想将它的值(读取它)放入.ps1脚本中。我该怎么做?

powershell environment-variables

16
推荐指数
2
解决办法
1万
查看次数

如何在表格内制作自动包装?

我正在尝试使用 Tailwind CSS 在表格行内制作一个文字包装器,但它似乎不起作用。我究竟做错了什么?

\n

我是:

\n
    \n
  • 使表格成为:“w-full”
  • \n
  • 使 td 和 pa 成为“突破所有”
  • \n
  • 给 tr 一个最大宽度
  • \n
\n

这是代码:

\n
      <div className="py-5 ">\n        <div className="overflow-x-auto">\n          <table className="w-full max-w-4xl mx-auto overflow-hidden bg-white divide-y divide-gray-300 rounded-lg whitespace-nowrap">\n            <thead className="bg-gray-900">\n              <tr className="text-left text-white">\n                <th className="px-6 py-4 text-lg font-semibold "> n \xc2\xb0 </th>\n                <th className="px-3 py-4 text-lg font-semibold "> Song </th>\n                <th className="px-3 py-4 text-lg font-semibold text-center "> Best Singers </th>\n                <th className="px-6 py-4 text-lg font-semibold text-center">  </th>\n              </tr>\n            </thead>\n            <tbody …
Run Code Online (Sandbox Code Playgroud)

word-wrap tailwind-css

2
推荐指数
1
解决办法
5995
查看次数