Ruben vincenten.nl

Web developer

  • Home
  • Categories
    • Web development
      • Debugging
    • Code
      • PHP
    • General

Tag Archives: dependencies

Using bower for your composer projects

jun23

If you are developing a project, and you just want to have your client side scripts and stylesheets being updated automatically, add the following to composer.json:

{
    "require": {
     // requirements here
     },
     "scripts": {
        "post-update-cmd": [
            "bower update"
        ]
    }
}

Offcourse, you do need to make sure you actually have bower and composer installed!

Leave a comment Posted in Web development Tagged bower, composer, dependencies
februari 2021
m d w d v z z
« okt    
1234567
891011121314
15161718192021
22232425262728

Categorieën

  • Code
  • General
  • Jokes
  • Web development

Pagina's

  • Home

Programming

  • PHP
  • W3 Consortium

Webdev

  • A List Apart
  • PHP
  • Utilu IE Collection
  • W3 Consortium
Proudly powered by WordPress | Theme: Quintus by WordPress.com.