import { defineComponent } from 'vue';
import { RouterLink, RouterView } from 'vue-router';
import './index.css';

export default defineComponent({
  name: 'App',
  setup() {
    return () => (
      <>
        <div id="nav">
          <RouterLink to="/">Home</RouterLink> | <RouterLink to="/about">About</RouterLink>
        </div>
        <RouterView />
      </>
    );
  },
});
