From fc4419f144bd47e0b7f473f5e70a908e08162991 Mon Sep 17 00:00:00 2001 From: Vitaly Mosin Date: Thu, 4 Jul 2019 23:40:54 +0700 Subject: [PATCH] Add `now.json` zeit config --- now.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 now.json diff --git a/now.json b/now.json new file mode 100644 index 0000000..1a23cfd --- /dev/null +++ b/now.json @@ -0,0 +1,13 @@ +{ + "version": 2, + "name": "vue", + "builds": [ + { "src": "package.json", "use": "@now/static-build" } + ], + "routes": [ + {"src": "^/js/(.*)", "dest": "/js/$1"}, + {"src": "^/css/(.*)", "dest": "/css/$1"}, + {"src": "^/img/(.*)", "dest": "/img/$1"}, + {"src": ".*", "dest": "/index.html"} + ] +}