fis-parser-vue-to-php

1.1.3 • Public • Published

vue-php

将vue模板渲染成php模板 因为本项目是结合vue-php开发的fis插件,所以翻译后的php文件,需要结合vue-php使用。

本地运行

$ git clone https://github.com/jnlong/fis-parser-vue-to-php
$ cd fis-parser-vue-to-php
$ npm install

fis配置

编译vue组件

fis.match('component/comm/**.vue', {
    parser: [
        fis.plugin('vue-to-php',{outPath: 'template_vue', ext: '.ph'})
    ]
});

##参数

  • outPath // 输出路径,默认为空
  • ext // 输出文件的扩展名,默认为.php

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i fis-parser-vue-to-php

Weekly Downloads

17

Version

1.1.3

License

MIT

Last publish

Collaborators

  • jnlong