Skip to content

Commit 03f8525

Browse files
committed
Add JSON files
1 parent 800f5fe commit 03f8525

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"scripts": {
66
"serve": "vue-cli-service serve",
7-
"build": "npm install && vue-cli-service build",
7+
"build": "vue-cli-service build",
88
"lint": "vue-cli-service lint"
99
},
1010
"dependencies": {

vercel.json

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"version": 2,
3+
"builds": [
4+
{
5+
"src": "package.json",
6+
"use": "@vercel/static-build",
7+
"config": {
8+
"distDir": "dist"
9+
}
10+
}
11+
],
12+
"routes": [
13+
{
14+
"src": "/(.*)",
15+
"dest": "/index.html"
16+
}
17+
]
18+
}

0 commit comments

Comments
 (0)