Can gulp output the tpl of The smarty template as an html plug-in? Development Environment: A new project needs to be developed now, and the development process is written at the front end. the backend of HTML is changed to. tpl is synchronously rendered using the smarty template engine. Problem: Many static pages can be used to output the tpl of The smarty template into html ins?
Development Environment:
A new module is required for an old project. the previous development process is written by the front-end..html
Change the backend.tpl
Use the smarty template engine for synchronous rendering.
Problems:
Static pages have a lot of repeated content that can be traversed using a for loop, so I want to write it directly on the front end using tpl. Because it is relatively simple, you just want to use
Gulp + browserSync + tpl template engine + less
. After development, package the package and send it to the backend.
However, no suchgulp-jade
In this waytpl
Converthtml
Tool
It's a bit similar to Baidu's FIS3-smarty solution. Write tpl directly and start the server locally. But here I don't want to use fis3.
Reply: can gulp output the tpl of The smarty template as an html plug-in?
Development Environment:
A new module is required for an old project. the previous development process is written by the front-end..html
Change the backend.tpl
Use the smarty template engine for synchronous rendering.
Problems:
Static pages have a lot of repeated content that can be traversed using a for loop, so I want to write it directly on the front end using tpl. Because it is relatively simple, you just want to use
Gulp + browserSync + tpl template engine + less
. After development, package the package and send it to the backend.
However, no suchgulp-jade
In this waytpl
Converthtml
Tool
It's a bit similar to Baidu's FIS3-smarty solution. Write tpl directly and start the server locally. But here I don't want to use fis3.