contao-components / installer Goto Github PK
View Code? Open in Web Editor NEWContao components installer
License: GNU Lesser General Public License v3.0
Contao components installer
License: GNU Lesser General Public License v3.0
This package is not yet compatible with PHP 8.
Today I had the problem, that I couldn't get my component to be installed in the assets folder.
After long search and some help I found out, I had my "contao-component-dir": "assets"
entry within config, not extras. In such cases the installer should throw an error.
Your documentation show the old path for the component dir, should be corrected to
"extra": {
"contao-component-dir": "assets"
},
I ran into an issue, where I forgot to define extra.component-dir
in my root composer.json
. No assets will be installed in this case even though the readme states "By default, the components will be installed into a components/ directory".
installer/src/Composer/Plugin.php
Lines 27 to 31 in eb0c34f
I wondered if we could default to assets
and remove the option at some point as this directory seems to be needed for Contao's other assets anyways like js/css/img (which are hardcoded). We would probably need to check if the current root composer.json
is indeed an app, so that assets won't get installed when required during development of bundles.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.