Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
Bootstrap
The most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
There are different ways to install the Yii Assets , here we will try to explain clearly and easily how to do it, and according to your environment you can choose the one that best suits your development.
In this way, all the packages that we add in the require section of composer.json, will be installed in the ./node_modulesdirectory, and their download will be managed by asset-packagist, to see the available packages, you can search for both bower and npm packages.
composer: This is the most traditional way some assets come to be installer via composer.json. bootstrap5 It provides a composer.json which allows us to install it easily, we just have to tell the AssetBundle::class in its definition that the directory where it is located will be vendor/tbws/bootstrap.
composer: This is the most traditional way some assets come to be installer via composer.json. bootstrap5 It provides a composer.json which allows us to install it easily, we just have to tell the AssetBundle::class in its definition that the directory where it is located will be vendor/tbws/bootstrap.
asset-packagist: This is the traditional Yii2 way, here we will add the following to our composer.json.