From 02749df5062674b1382441a7bdeb3e01e8fc6185 Mon Sep 17 00:00:00 2001 From: StefanVDWeide Date: Tue, 12 Nov 2024 14:04:47 +0100 Subject: [PATCH] docs: Fixed incorrect Vuejs example instructions --- vuejs/README.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/vuejs/README.md b/vuejs/README.md index 74ef60b..f8c8c69 100644 --- a/vuejs/README.md +++ b/vuejs/README.md @@ -2,17 +2,16 @@ This repository contains an example of vuejs application that is deployed on Dokploy. +This example assume you use `Nixpacks` as the build type. 1. **Use Git Provider in Your Application**: - Repository: `https://github.com/Dokploy/examples.git` - Branch: `main` - Build path: `/vuejs` -2. **Add Environment Variables**: -- Navigate to the "Environments" tab and add the following variable: - ```plaintext - NIXPACKS_START_CMD="pnpm run preview" - ``` +2. **Set the publish publish directory**: + +- Ensure you set it to `dist/`. Note that there is no dot before `dist`! 3. **Click on Deploy**: - Deploy your application by clicking the deploy button. @@ -22,5 +21,4 @@ This repository contains an example of vuejs application that is deployed on Dok - A new domain will be generated for you. - You can use this domain to access your application. - If you need further assistance, join our [Discord server](https://discord.com/invite/2tBnJ3jDJc).