Support multiple components in one file and bail out if there is none