Skip to content

A monorepo project template managed with Turborepo, including both web and server applications.

License

Notifications You must be signed in to change notification settings

pkgtoolsjs/template-turborepo-vue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

template-turborepo-vue CI Publish GitHub Container Registry

A monorepo project template managed with Turborepo, including both web and server applications.

Using this example

Run the following command:

npx degit https://github.com/pkgtoolsjs/template-turborepo-vue.git my-turborepo

What's inside?

This Turborepo includes the following packages/apps:

Apps and Packages

apps:

packages:

  • ui: a stub Vue component library shared by both web and other Vue3-based applications
  • eslint-config: shared ESLint configuration used across projects
  • tsconfig: shared tsconfig.json configurations used throughout the monorepo

Each package/app is 100% TypeScript.

Utilities

This Turborepo has some additional tools already setup for you:

Docker Compose

This project also supports building applications under the apps/ directory using Docker Compose. A complete CI/CD workflow has been set up based on GitHub Actions, covering testing, bundling, building, and publishing Docker images.

For more details, see: Docker Compose.

Develop and Build

Build

To build all apps and packages, run the following command:

cd my-turborepo
pnpm build

Develop

To develop all apps and packages, run the following command:

cd my-turborepo
pnpm dev

Remote Caching

See Remote Caching.

Docker Compose

We all know that deploying a project quickly and properly is one of the hardest — and most frustrating — challenges in the industry. That's why this project comes with a complete CI/CD workflow powered by GitHub Actions and Docker Compose. The best part? You can start coding right away without worrying about all those painful deployment issues!

Build Images

Simply run docker compose build and the build process will start!

docker compose build

Start or Stop the Container

Once the image has been built, run the following command to start the container immediately:

docker compose up -d

To stop and remove the running container:

docker compose down

License

MIT License