Nationalism and nation-state

How did the drive for nationalism and nation-state status fracture and divided Yugoslavia into the countries they are today?