2.0.4 • Published 8 years ago

fis-parser-art-template v2.0.4

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

fis-parser-art-template NPM version

NPM Download

A fis parser plugin for art-template

Install

$ npm install fis-parser-art-template

Tips

Above v2.0.0 only support fis3 & reasy

##Usage

//fis-conf.js for fis3

fis.match('**.{html,tpl}', {
    parser: fis.plugin('art-template', {
        native: false,
        define: {
            "title": "hello, art-template",
            "stylesheets": ["main.css"],
            "scripts": ["main.js"],
            "module/": {
              "title": "home module",

              "home.tpl": {
                "stylesheets": ["home.css"],
                "scripts": ["home.js"]
              }
            },
            "index.tpl": {
              "stylesheets": ["index.css"],
              "scripts": ["index.js"]
            }
        }
    }),
    rExt: 'html'
})

$ fis release -d ./output

Reserved words

  • noParse true: page keep origin
  • release false: page will not relase(fis-parser-art-template@2.0.0 & fis3 only)

Example

see example

2.0.4

8 years ago

1.2.6

8 years ago

2.0.2

9 years ago

2.0.1

9 years ago

2.0.0

9 years ago

1.2.5

9 years ago

1.2.4

9 years ago

1.2.3

9 years ago

1.2.2

9 years ago

1.2.1

9 years ago

1.2.0

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago

0.2.0

9 years ago

0.1.9

9 years ago

0.1.8

9 years ago

0.1.6

9 years ago

0.1.5

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago