subcom/twill-leads 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

subcom/twill-leads

最新稳定版本:v1.0.2

Composer 安装命令:

composer require subcom/twill-leads

包简介

A twill package

README 文档

README

This a package build with laravel and twill to add menu modul.

Support us

Installation

Project setup

twill-leads

To install twill-leads package and all dependecies run the command below and follow the instructions:

composer require subcom/twill-leads

Config setup

  1. Run command:
php artisan vendor:publish --provider="Leads\LeadsServiceProvider" --tag="twill-leads-views"
php artisan vendor:publish --provider="Leads\LeadsServiceProvider" --tag="twill-emails"
php artisan vendor:publish --provider="Leads\LeadsServiceProvider" --tag="twill-leads-views-site"
php artisan vendor:publish --provider="Leads\LeadsServiceProvider" --tag="twill-success-lang"
php artisan vendor:publish --provider="Leads\LeadsServiceProvider" --tag="twill-resources-success-lang"
php artisan vendor:publish --provider="Leads\LeadsServiceProvider" --tag="twill-leads-public-assets-admin-leads"
php artisan vendor:publish --provider="Leads\LeadsServiceProvider" --tag="twill-leads-database"
  1. Run command:
php artisan migrate
  1. Add this to resources/js/app.js
app.component('NewsletterForm', defineAsyncComponent(() =>
    import('./components/NewsletterForm.vue')
));

app.component('ContactForm', defineAsyncComponent(() =>
    import('./components/ContactForm.vue')
));
  1. Add this to config/twill.php in 'directories' => 'source' => 'blocks'
   'leads' => [

       'title' => 'Leads',
       'icon' => 'quote',
       'component' => 'a17-block-leads',
       'path' => base_path('vendor/subcom/twill-leads/src/Twill/Capsules/Leads/resources/views/admin/blocks'),
       'source' => A17\Twill\Services\Blocks\Block::SOURCE_TWILL,
   ],

   'contactform' => [

   'title' => 'ContactForm',
   'icon' => 'quote',
   'component' => 'a17-block-contactform',
   'path' => base_path('vendor/subcom/twill-leads/src/Twill/Capsules/Leads/resources/views/admin/blocks'),
   'source' => A17\Twill\Services\Blocks\Block::SOURCE_TWILL,
   ],

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 58
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-09-21