diff --git a/README.md b/README.md index bb04fc1..e7e0225 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ We are very excited to share this dashboard with you and we look forward to hear - [Demo](#demo) - [Quick Start](#quick-start) +- [Deploy](#deploy) - [Documentation](#documentation) - [File Structure](#file-structure) - [Browser Support](#browser-support) @@ -42,6 +43,12 @@ We are very excited to share this dashboard with you and we look forward to hear - [Download from Github](https://github.com/creativetimofficial/vue-black-dashboard/archive/master.zip). - [Download from Creative Tim](https://www.creative-tim.com/product/vue-black-dashboard). +## Deploy + +:rocket: You can deploy your own version of the template to Genezio with one click: + +[![Deploy to Genezio](https://raw.githubusercontent.com/Genez-io/graphics/main/svg/deploy-button.svg)](https://app.genez.io/start/deploy?repository=https://github.com/creativetimofficial/vue-black-dashboard&utm_source=github&utm_medium=referral&utm_campaign=github-creativetim&utm_term=deploy-project&utm_content=button-head) + ## Documentation The documentation for the Vue Black Dashboard is hosted at our [website](https://demos.creative-tim.com/vue-black-dashboard/documentation). diff --git a/genezio.yaml b/genezio.yaml new file mode 100644 index 0000000..deb893a --- /dev/null +++ b/genezio.yaml @@ -0,0 +1,16 @@ +name: vue-black-dashboard +region: us-east-1 +frontend: + # Specifies the path of your code. + path: . + # Specifies the folder where the build is located. + # This is the folder that will be deployed. + publish: dist + # Scripts will run in the specified `path` folder. + scripts: + # The command to build your frontend project. This is custom to your project. + # It must to populate the specified `publish` folder with a `index.html` file. + deploy: + - npm install --legacy-peer-deps + - npm run build +yamlVersion: 2 diff --git a/package.json b/package.json index b23293f..738bacc 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "author": "cristian.jora ", "scripts": { "serve": "vue-cli-service serve --open", - "build": "vue-cli-service build", + "build": "cross-env CI=false vue-cli-service build", "e2e": "node test/e2e/runner.js", "lint": "vue-cli-service lint", "dev": "vue-cli-service serve --open", @@ -25,12 +25,13 @@ "vue2-transitions": "0.3.0" }, "devDependencies": { + "@babel/eslint-parser": "7.21.8", "@vue/cli-plugin-babel": "5.0.8", "@vue/cli-plugin-eslint": "5.0.8", "@vue/cli-plugin-pwa": "5.0.8", "@vue/cli-service": "5.0.8", "@vue/eslint-config-prettier": "7.1.0", - "@babel/eslint-parser": "7.21.8", + "cross-env": "^7.0.3", "eslint": "8.41.0", "eslint-plugin-prettier": "4.2.1", "eslint-plugin-vue": "9.14.1",