I am trying to bevel only some edges on my cube and I manage to do so with the bevel tool, but I fail with the bevel modifier. I tried adding those edges, which I also selected when using the tool, to a vertex group and applying the modifier only to those, but still all edges get beveled in the result. I understand that this happens because the vertices and not the edges are in the vertex group, but I don't know how to work around this.
How can I achieve the same result with the modifier as with the tool?
Am using blender 2.8