没有合适的资源?快使用搜索试试~ 我知道了~
front-matter-loader:Webpack加载器使用jxsonfront-matter提取frontmatter
共16个文件
js:5个
json:2个
md:2个
需积分: 9 0 下载量 135 浏览量
2021-05-14
00:15:13
上传
评论
收藏 50KB ZIP 举报
温馨提示
前事装载机 Webpack加载器使用提取frontmatter 安装 npm install front-matter-loader 用法 给定一个带有frontmatter的文件,例如example.md : --- title: Example description: This is an example --- Here is some example content 可以这样提取前题(使用 ): var exampleFrontmatter = require ( 'json-loader!front-matter-loader!./example.md' ) ; console . log ( exampleFrontmatter . attributes . title ) ; // => 'Example' console . log ( exampleFrontma
资源推荐
资源详情
资源评论
收起资源包目录
front-matter-loader-master.zip (16个子文件)
front-matter-loader-master
.gitignore 31B
package.json 978B
index.test.js 1KB
LICENSE 1KB
index.js 402B
.github
workflows
test.yml 425B
.prettierignore 16B
README.md 1KB
example
webpack.config.js 415B
example.md 85B
index.js 42B
example.test.js 851B
.npmignore 10B
pnpm-lock.yaml 127KB
renovate.json 73B
.prettierrc 26B
共 16 条
- 1
资源评论
笨猫猪
- 粉丝: 30
- 资源: 4732
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功