Giter Site home page Giter Site logo

Comments (11)

stelin avatar stelin commented on May 1, 2024

这个方法可以,目前没有提供显示网页模板的方法。下个版本会增加一个简单的显示模板。

from swoft.

alexsunnysun avatar alexsunnysun commented on May 1, 2024

收到,你们的框架很赞 就差一个网页模板直接使用了。 👍 : )

from swoft.

inhere avatar inhere commented on May 1, 2024

是有简单的模板渲染支持的, 稍后我给个示例

from swoft.

alexsunnysun avatar alexsunnysun commented on May 1, 2024

坐等 :)

from swoft.

inhere avatar inhere commented on May 1, 2024

已经添加了. 查看使用文档 和 源码里的使用示例
https://doc.swoft.org/view-render.html

from swoft.

alexsunnysun avatar alexsunnysun commented on May 1, 2024

666 双击 老铁 👍 :)

from swoft.

stelin avatar stelin commented on May 1, 2024

@inhere 👍👍

from swoft.

jonny77 avatar jonny77 commented on May 1, 2024

swoft不是自带http服务器吗 ,如果没有nginx. 怎么设置虚拟主机实现和nginx一样的效果呢?

from swoft.

huangzhhui avatar huangzhhui commented on May 1, 2024

可以使用 $response->view()

from swoft.

huangzhhui avatar huangzhhui commented on May 1, 2024

但是,并不建议直接输出网页模板,具体请查阅文档 控制器 章节

from swoft.

jonny77 avatar jonny77 commented on May 1, 2024

我的意思是 是否可以绑定域名

from swoft.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.