this project uses bun native tools to use vue in ssr mode!
This project is a web application built with Bun, a JavaScript bundler and server framework. It includes both server-side and client-side code. checkout the plugins directory to see what makes everything work!
This project is heavily inspired by the following repositories:
- Bux - Own-Nuxt-Like-Framework
- react-ssr: from the bun-community templates used before bun v1.0
allows for use of:
- no script-setup
- script only
- template only
- normal SFC's with setup
not all compiling options for vue SFC's are implemented
- Clone the repository:
bun create daniel-le97/bun-vue-ssr
- Install dependencies:
bun install
To start the server and run the application:
- run
bun dev.ts
- run
bun run dev
The application will be accessible at http://localhost:3000
.