Skip to content

Vincent-the-gamer/vincent

Repository files navigation

vincent

My personal website.


Visit

https://blog.vince-g.xyz/

Router Mode

Web History + SSG (Default)

export const createApp = ViteSSG(
  App,
  {
    routes,
  },
  ({ router, app, isClient }) => {
    ....
  },
)

then

pnpm run build

Web Hash History + SPA

export const createApp = ViteSSG(
  App,
  {
    routes,
    history: createWebHashHistory()
  },
  ({ router, app, isClient }) => {
    ....
  },
)

then

pnpm run spa-build

License

Code is licensed under MIT.

Words and images are licensed under CC BY-NC-SA 4.0.