没有合适的资源?快使用搜索试试~ 我知道了~
babel-plugin-transform-html-import-to-string
共11个文件
js:5个
yml:1个
html:1个
需积分: 9 0 下载量 50 浏览量
2021-05-13
09:54:03
上传
评论
收藏 6KB ZIP 举报
温馨提示
babel-plugin-transform-html-import-to-string 将HTML导入转换为字符串。 例子 给定以下example.html 。 < h1> Hello </ h1> 在 import html from './example.html' ; 出去 var html = '<h1>Hello</h1>' ; 安装 $ npm install babel-plugin-transform-html-import-to-string 用法 通过.babelrc (推荐) .babelrc { " plugins " : [ " transform-html-import-to-string " ] } 通过CLI $ babel --plugins transform-html-import-to-string script.js 通过节点API
资源推荐
资源详情
资源评论
收起资源包目录
babel-plugin-transform-html-import-to-string-master.zip (11个子文件)
babel-plugin-transform-html-import-to-string-master
src
index.js 980B
.babelrc 38B
lib
index.js 1KB
.travis.yml 47B
__tests__
__fixtures__
simple
output.js 37B
code.html 22B
code.js 32B
index.js 319B
README.md 875B
.gitignore 54B
package.json 956B
共 11 条
- 1
资源评论
合众丰城
- 粉丝: 20
- 资源: 4651
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功