Narwhals Poke Mammals

    fis-preprocessor-extlang

    1.0.0 • Public • Published

    fis-preprocessor-extlang

    支持使用Smarty script 插件的JavaScript的语言扩展

    {%script%}
        require('./a.js');
        __inline('./b.js');
        var a = __uri('./c.js');
        //blabla
    {%/script%}
    

    使用

    //install
    npm install -g fis-preprocessor-extlang
    
    
    //config
    vi <project>/fis-conf.js
    
    fis.merge.config({
        modules: {
            preprocessor: {
                tpl: "extlang"
            }
        },
        ....
    });
    

    Keywords

    Install

    npm i fis-preprocessor-extlang

    DownloadsWeekly Downloads

    31

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • fansekey
    • 2betop