All Projects → fxpio → Fxp Require Asset

fxpio / Fxp Require Asset

Licence: mit
Helper of required assets for Twig with Webpack

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Fxp Require Asset

core
🔥 Antares Core Implemenation. Most important project layer, this is the heart for your app. ACL, notifiter, console, geoip, areas, utils and many more...
Stars: ✭ 24 (+300%)
Mutual labels:  twig, assets
Iconizer
Create Xcode asset catalogs swift and painless. Generate images for macOS and iOS app icons, launch images and image sets.
Stars: ✭ 751 (+12416.67%)
Mutual labels:  assets
Badge Poser
The PHP badges, renders some badges for your readme with the packagist information.
Stars: ✭ 440 (+7233.33%)
Mutual labels:  twig
Homebrewery
Create authentic looking D&D homebrews using only markdown
Stars: ✭ 598 (+9866.67%)
Mutual labels:  stylesheet
Assetsextractor
『Assets提取工具』是一款OSX平台上用于将Assets.car或xxx.app中打包的png图片、pdf等资源重新提取出来的开发者工具。Assets.car常见于iOS/Mac/Unity等开发中的资源打包。
Stars: ✭ 486 (+8000%)
Mutual labels:  assets
Spcss
A simple, minimal, classless CSS for simple HTML pages
Stars: ✭ 658 (+10866.67%)
Mutual labels:  stylesheet
Bolt
Bolt is a simple CMS written in PHP. It is based on Silex and Symfony components, uses Twig and either SQLite, MySQL or PostgreSQL.
Stars: ✭ 4,136 (+68833.33%)
Mutual labels:  twig
Idea Php Symfony2 Plugin
IntelliJ IDEA / PhpStorm Symfony Plugin
Stars: ✭ 797 (+13183.33%)
Mutual labels:  twig
Cirrus
☁️ The CSS framework for the modern web.
Stars: ✭ 716 (+11833.33%)
Mutual labels:  stylesheet
Ec Cube
EC-CUBE is the most popular e-commerce solution in Japan
Stars: ✭ 591 (+9750%)
Mutual labels:  twig
Flutter gen
The Flutter code generator for your assets, fonts, colors, … — Get rid of all String-based APIs.
Stars: ✭ 583 (+9616.67%)
Mutual labels:  assets
A11y Style Guide
Accessibility (A11Y) Style Guide
Stars: ✭ 493 (+8116.67%)
Mutual labels:  twig
Starter Theme
The "_s" for Timber: a dead-simple theme that you can build anything from
Stars: ✭ 679 (+11216.67%)
Mutual labels:  twig
Information collection handbook
Handbook of information collection for penetration testing and src
Stars: ✭ 447 (+7350%)
Mutual labels:  assets
Superpowers Asset Packs
CC0-licensed asset packs for your games
Stars: ✭ 766 (+12666.67%)
Mutual labels:  assets
Flextype
Hybrid Content Management System with the freedom of a headless CMS and with the full functionality of a traditional CMS
Stars: ✭ 436 (+7166.67%)
Mutual labels:  twig
Chamilo Lms
Chamilo is a learning management system focused on ease of use and accessibility
Stars: ✭ 550 (+9066.67%)
Mutual labels:  twig
React Native Style Tachyons
Better styling for React Native
Stars: ✭ 640 (+10566.67%)
Mutual labels:  stylesheet
Assimp
The official Open-Asset-Importer-Library Repository. Loads 40+ 3D-file-formats into one unified and clean data structure.
Stars: ✭ 7,309 (+121716.67%)
Mutual labels:  assets
Qbt Theme
collection of themes for qbittorrent
Stars: ✭ 776 (+12833.33%)
Mutual labels:  stylesheet

Fxp Require Asset

Latest Version Build Status Coverage Status Scrutinizer Code Quality SensioLabsInsight

The Fxp Require Asset is a helper for twig to manage automatically the required assets with Webpack. It allows to define the required assets (script, style) directly in the Twig template and adds the HTML links of the assets automatically to the right place in the template, while removing duplicates.

Features include:
  • Compatible with Webpack and source maps (require the plugin webpack-manifest-plugin or assets-webpack-plugin)
  • Configure:
    • the locale asset defined by each entry
    • the replacement of assets by other assets
  • Compiling the final list of asset in cache to increase performance for assets-webpack-plugin
  • Twig features:
    • possibility to defined the asset in one or more template Twig:
      • one only link will be added in the final Twig template (no duplicates)
      • the link will be placed in the right place in the final Twig template (defined in the twig base template)
      • the generated link will corresponding to the link defined by the asset target path in Webpack Manifest/Assets
      • ability to define an require asset as an optional
      • automatically add the localized assets after the assets, without duplication
    • tags:
      • require_script: for require a script and inject the link in the good place defined in the twig base template
      • require_style: for require a style and inject the link in the good place defined in the twig base template
      • inline_script: for automatically move all inline script in the same place defined in the twig base template
      • inline_style: for automatically move all inline style in the same place defined in the twig base template
    • functions:
      • requireScriptsPosition: to position the require scripts in the Twig template
      • requireStylesPosition: to position the require styles in the Twig template
      • inlineScriptsPosition: to position the inline scripts in the Twig template
      • inlineStylesPosition: to position the inline styles in the Twig template

Documentation

The bulk of the documentation is located in the Resources/doc/index.md:

Read the Documentation

Read the Release Notes

Installation

All the installation instructions are located in documentation.

License

This library is under the MIT license. See the complete license in the bundle:

LICENSE

About

Fxp Require Asset is a François Pluchino initiative. See also the list of contributors.

Reporting an issue or a feature request

Issues and feature requests are tracked in the Github issue tracker.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].