Change button to go to link instead

hey there… I am trying to change this button to go to a different URL instead of passing data… how can I do this?

<div @click="namedAction('apply',{position:model.position})" class="w-full py-3">
    <button type="button" class="mt-5 mx-auto focus:outline-none text-white text-lg py-2.5 px-6 rounded-md bg-gray-700 hover:bg-gray-900 hover:shadow-lg flex items-center">
        <svg class="w-6 h-8 mr-2" xmlns="" fill="none" viewBox="0 0 24 24" stroke="currentColor">
            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 8h10M7 12h4m1 8l-4-4H5a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v8a2 2 0 01-2 2h-3l-4 4z" />

Have it run a named action and in that named action user can use a path action that will allow different paths (same app ) or urls ( different app )