Skip to content

Commit 261b8f2

Browse files
committedJun 26, 2024
Create genezio.yaml
1 parent 9cae9ad commit 261b8f2

File tree

3 files changed

+27
-3
lines changed

3 files changed

+27
-3
lines changed
 

‎README.md

+6
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ Check the [Live Demo here](https://cristijora.github.io/vue-paper-dashboard).
1010
[Nuxt Version (outdated Bootstrap 3)](https://github.com/cristijora/vue-paper-dashboard-nuxt)
1111
![](http://i.imgur.com/3iC1hOs.gif)
1212

13+
## Deploy
14+
15+
:rocket: You can deploy your own version of the template to Genezio with one click:
16+
17+
[![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-paper-dashboard&utm_source=github&utm_medium=referral&utm_campaign=github-creativetim&utm_term=deploy-project&utm_content=button-head)
18+
1319
## Documentation
1420

1521
Link to [Documentation](http://vuejs.creative-tim.com/vue-paper-dashboard/documentation/)

‎genezio.yaml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# The name of the project.
2+
name: vue-paper-dashboard
3+
# The region where the project is deployed.
4+
region: us-east-1
5+
# The version of the Genezio YAML configuration to parse.
6+
yamlVersion: 2
7+
# Information about the frontend, including the path, language, and publish directory.
8+
# It is optional. It can also be an array if there are multiple frontends you want to deploy.
9+
frontend:
10+
# The folder where the frontend scripts will run.
11+
path: ./
12+
# The directory that will be published to the CDN. It is relative to the path.
13+
publish: ./dist
14+
scripts:
15+
# List of scripts that build your frontend before deployment. It should populate the specified `publish` directory.
16+
build: npm run build
17+
# List of scripts to run before deploying the frontend.
18+
deploy: npm install

‎package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
"vue-router": "3.0.1"
2222
},
2323
"devDependencies": {
24-
"@vue/cli-plugin-babel": "3.12.1",
25-
"@vue/cli-plugin-eslint": "3.12.1",
26-
"@vue/cli-service": "3.12.1",
24+
"@vue/cli-plugin-babel": "^5.0.8",
25+
"@vue/cli-plugin-eslint": "^5.0.8",
26+
"@vue/cli-service": "^5.0.8",
2727
"@vue/eslint-config-prettier": "5.1.0",
2828
"sass": "1.56.2",
2929
"sass-loader": "10.2.0",

0 commit comments

Comments
 (0)
Please sign in to comment.