Christian Eriksen scored for Denmark in their opening European Championship match against Slovenia on Sunday.