承接 optimistdigital/laravel-create-frontend 相关项目开发

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

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

optimistdigital/laravel-create-frontend

最新稳定版本:v2.0.0

Composer 安装命令:

composer require optimistdigital/laravel-create-frontend

包简介

README 文档

README

This package adds a Laravel helper method to include the js and css files from create-frontend in your html. It grabs the right path for the versioned files from asset-manifest.json

Usage

1. Install the package:

composer require optimistdigital/laravel-create-frontend

2. Add this to your html:

<script src="{{ frontend('app.js') }}"></script>

3. For production, also include css:

<link rel="stylesheet" type="text/css" href={{ frontend('app.css') }}>

API

/**
 * $assetName - name of the unhashed asset in your manifest
 * $manifestPath - location of your manifest - optional, defaults to public/build/asset-manifest.json
 */
frontend($assetName, $manifestPath)

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-01-24