承接 panugaling/require-js 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

panugaling/require-js

Composer 安装命令:

composer require panugaling/require-js

包简介

README 文档

README

Laravel package to automatically create files for RequireJS. This is for my personal use but if there is anyone who wants to use this package, feel free to fork it.

Installation

Install the package using composer. Edit your composer.json file and require this.

"panugaling/require-js": "dev-master"

Next is to update composer from the terminal.

composer update

Let's now add the Service Provider by opening your app/config/app.php and add a new item in the providers array.

'Panugaling\RequireJS\RequireJSServiceProvider',

If you want to change the configuration of the package, type this command in the terminal.

php artisan config:publish panugaling/require-js

That's it! You are now ready to use the package.

Usage

In your blade template, you can use it like this.

<body>
	{{ Required::load('main') }}
</body>

The argument main is the filename of our main js file. you can change it what ever you like.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2014-11-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固