Building from Scratch

其实也不算 Building from scratch 了,不过每天写好日记是需要的。

暂时把整个项目叫 onemstar,域名也正式启用了,建好了 git,可以开工了。

装上 HTML facade

composer require illuminate/html

然后修改配置:

#config\app.php
Illuminate\Html\HtmlServiceProvider::class,

...

'Form'      => Illuminate\Html\FormFacade::class,
'Html'      => Illuminate\Html\HtmlFacade::class,

Form 就可以这样用:

    {!! Form::open() !!}


    {!! Form::close() !!}

 

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.