From 893c5c415fa77d717b40e8dab06360d60d356dd4 Mon Sep 17 00:00:00 2001 From: ak Date: Sat, 30 Sep 2023 22:05:37 -0700 Subject: [PATCH] hosted on Netlify --- .gitignore | 4 +++- README.md | 4 +++- netlify.toml | 21 +++++++++++++++++++++ 3 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 netlify.toml diff --git a/.gitignore b/.gitignore index 5378516..9bd1e84 100644 --- a/.gitignore +++ b/.gitignore @@ -22,4 +22,6 @@ dist-ssr *.sln *.sw? -.env \ No newline at end of file +.env +# Local Netlify folder +.netlify diff --git a/README.md b/README.md index e3b58ae..d9cceca 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ # vue-blog-frontend -Frontend for express-blog-api made with Vue and Tailwind CSS. \ No newline at end of file +Frontend for express-blog-api made with Vue and Tailwind CSS. + +Hosted on [Netlify](https://singular-malabi-cf37ee.netlify.app/#/) diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..8c5c752 --- /dev/null +++ b/netlify.toml @@ -0,0 +1,21 @@ +# example netlify.toml +[build] + command = "npm run build" + functions = "netlify/functions" + publish = "dist" + + ## Uncomment to use this redirect for Single Page Applications like create-react-app. + ## Not needed for static site generators. + #[[redirects]] + # from = "/*" + # to = "/index.html" + # status = 200 + + ## (optional) Settings for Netlify Dev + ## https://github.com/netlify/cli/blob/main/docs/netlify-dev.md#project-detection + #[dev] + # command = "yarn start" # Command to start your dev server + # port = 3000 # Port that the dev server will be listening on + # publish = "dist" # Folder with the static content for _redirect file + + ## more info on configuring this file: https://docs.netlify.com/configure-builds/file-based-configuration/