Can javascript-gulp output the tpl of The smarty template as an html plug-in?

Source: Internet
Author: User
Tags smarty template
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..htmlChange the backend.tplUse 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-jadeIn this waytplConverthtmlTool
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..htmlChange the backend.tplUse 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-jadeIn this waytplConverthtmlTool
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.