会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
柯宝宝智商感人
-- 最可爱的柯宝宝耶、爱代码。 -- 可甜可盐的青春美少女~
新随笔
管理
2022年1月14日
使nodejs 可以读取 .env 文件内容
摘要: # 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)
编辑