Skip to content

Commit 49b23dd

Browse files
committed
Init netlify cli
1 parent f36300e commit 49b23dd

File tree

5 files changed

+28
-3
lines changed

5 files changed

+28
-3
lines changed

.netlify/state.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"siteId": "470c96e9-d56e-4de4-8ae7-a502bd2d5073"
3+
}

netlify.toml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# example netlify.toml
2+
[build]
3+
command = "yarn build"
4+
# functions = "functions"
5+
publish = "build"
6+
7+
## Uncomment to use this redirect for Single Page Applications like create-react-app.
8+
## Not needed for static site generators.
9+
#[[redirects]]
10+
# from = "/*"
11+
# to = "/index.html"
12+
# status = 200
13+
14+
## (optional) Settings for Netlify Dev
15+
## https://github.com/netlify/netlify-dev-plugin#project-detection
16+
#[dev]
17+
# command = "yarn start" # Command to start your dev server
18+
# port = 3000 # Port that the dev server will be listening on
19+
# publish = "dist" # Folder with the static content for _redirect file
20+
21+
## more info on configuring this file: https://www.netlify.com/docs/netlify-toml-reference/

public/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
work correctly both with client-side routing and a non-root public URL.
2323
Learn how to configure a non-root public URL by running `npm run build`.
2424
-->
25-
<title>React App</title>
25+
<title>Cache Busting a React App</title>
2626
</head>
2727
<body>
2828
<noscript>You need to enable JavaScript to run this app.</noscript>

public/manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"short_name": "React App",
3-
"name": "Create React App Sample",
2+
"short_name": "Cache Busting",
3+
"name": "Cache Busting a React App",
44
"icons": [
55
{
66
"src": "favicon.ico",

public/version.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"appVersion":"0.1.0"}

0 commit comments

Comments
 (0)