Javascript

Update a npm package to a new version

This is mainly for myself since I always forget the correct steps. 1. Make you code changes 2. Commit the change 3. Build the package, eg: npm build. This will compile everything and create a new dist folder. 4. Create a new patch version: npm version patch (if not patch, use minor or…

Läs mer Läs mer
Publicerad av Victor Eliasson - 1 minuts läsning
Javascript

Multiple Tailwind config files for one app (TailwindCSS < 1.0)

In some projects we want to have multiple Tailwind config files for different parts of the app. The most common case is that we have one "admin" section (only for admins) and one "front" section (only for customers) and they need to have different designs. In the past we just has one big Tailwind…

Läs mer Läs mer
Publicerad av Victor Eliasson - 1 minuts läsning
  • Surbrunnsgatan 59
  • 113 27 STOCKHOLM