From 4318918a819fa4cd8f6e3818042c03aa566ff77b Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Thu, 23 Dec 2021 21:39:23 -0300 Subject: [PATCH] _redirects and deploy to netlify. --- package.json | 2 +- public/_redirects | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 public/_redirects diff --git a/package.json b/package.json index 67faf26..32f2d69 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "lint": "eslint --ext .js,.vue ./", "dev": "quasar dev --port 3001", "build": "quasar build", - "publish": "netlify deploy --dir=dist/spa/ --prod" + "publish": "quasar build && netlify deploy --dir=dist/spa/ --prod" }, "dependencies": { "@quasar/extras": "^1.0.0", diff --git a/public/_redirects b/public/_redirects new file mode 100644 index 0000000..ad37e2c --- /dev/null +++ b/public/_redirects @@ -0,0 +1 @@ +/* /index.html 200