docs: Fixed incorrect Vuejs example instructions

This commit is contained in:
StefanVDWeide
2024-11-12 14:04:47 +01:00
parent 90d1096635
commit 02749df506

View File

@@ -2,17 +2,16 @@
This repository contains an example of vuejs application that is deployed on Dokploy. 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**: 1. **Use Git Provider in Your Application**:
- Repository: `https://github.com/Dokploy/examples.git` - Repository: `https://github.com/Dokploy/examples.git`
- Branch: `main` - Branch: `main`
- Build path: `/vuejs` - Build path: `/vuejs`
2. **Add Environment Variables**: 2. **Set the publish publish directory**:
- Navigate to the "Environments" tab and add the following variable:
```plaintext - Ensure you set it to `dist/`. Note that there is no dot before `dist`!
NIXPACKS_START_CMD="pnpm run preview"
```
3. **Click on Deploy**: 3. **Click on Deploy**:
- Deploy your application by clicking the deploy button. - 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. - A new domain will be generated for you.
- You can use this domain to access your application. - You can use this domain to access your application.
If you need further assistance, join our [Discord server](https://discord.com/invite/2tBnJ3jDJc). If you need further assistance, join our [Discord server](https://discord.com/invite/2tBnJ3jDJc).