Skip to content

Latest commit

 

History

History
62 lines (45 loc) · 841 Bytes

README.md

File metadata and controls

62 lines (45 loc) · 841 Bytes

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.