A general approach to prepare conjugated polymer dot embedded silica nanoparticles with a SiO2@CP@SiO2 structure for targeted HER2-positive cellular imaging.