forked from thtauhid/terminal-portfolio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes: documentation for deploying to Netlify thtauhid#62
- Loading branch information
1 parent
e42c701
commit 507e557
Showing
3 changed files
with
53 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,3 +22,6 @@ dist-ssr | |
*.njsproj | ||
*.sln | ||
*.sw? | ||
|
||
# Local Netlify folder | ||
.netlify |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# example netlify.toml | ||
[build] | ||
command = "vite 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/ |