文件名称:weapp-vue-parser:WeApp的单个Vue文件解析器
文件大小:20KB
文件格式:ZIP
更新时间:2024-05-29 05:24:38
parser vue weapp JavaScript
weapp-vue-parser weapp的单个vue文件解析器。 安装: npm install -S afeiship/weapp-vue-parser --registry=https://registry.npm.taobao.org 用法: const fs = require ( 'fs' ) ; const { resolve } = require ( 'path' ) ; const weappVueParser = require ( '../dist/index' ) . default ; const dist_dir = resolve ( __dirname , './card' ) ; const html = fs . readFileSync ( resolve ( __dirname , './card.vue' ) ) ; const re
【文件预览】:
weapp-vue-parser-master
----.gitignore(63B)
----.babelrc(225B)
----package.json(1KB)
----.npmrc(59B)
----package-lock.json(87KB)
----src()
--------index.js(670B)
----dist()
--------index.js(742B)
----LICENSE.txt(1KB)
----README.md(751B)
----.npmignore(59B)
----test()
--------card.vue(531B)
--------test.js(482B)
--------card()
----.editorconfig(171B)
----yarn.lock(242B)