Skip to content

Commit 72b3586

Browse files
marvinjudeLekoArts
andauthored
chore(starter): Add minimal Typescript starter (#34688)
Co-authored-by: LekoArts <[email protected]>
1 parent 62b07a0 commit 72b3586

File tree

10 files changed

+28211
-0
lines changed

10 files changed

+28211
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules/
2+
.cache/
3+
public
+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
The BSD Zero Clause License (0BSD)
2+
3+
Copyright (c) 2022 Gatsby Inc.
4+
5+
Permission to use, copy, modify, and/or distribute this software for any
6+
purpose with or without fee is hereby granted.
7+
8+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14+
PERFORMANCE OF THIS SOFTWARE.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
<p align="center">
2+
<a href="https://www.gatsbyjs.com/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter-ts">
3+
<img alt="Gatsby" src="https://www.gatsbyjs.com/Gatsby-Monogram.svg" width="60" />
4+
</a>
5+
</p>
6+
<h1 align="center">
7+
Gatsby minimal TypeScript starter
8+
</h1>
9+
10+
## 🚀 Quick start
11+
12+
1. **Create a Gatsby site.**
13+
14+
Use the Gatsby CLI to create a new site, specifying the minimal TypeScript starter.
15+
16+
```shell
17+
# create a new Gatsby site using the minimal TypeScript starter
18+
npm init gatsby
19+
```
20+
21+
2. **Start developing.**
22+
23+
Navigate into your new site’s directory and start it up.
24+
25+
```shell
26+
cd my-gatsby-site/
27+
npm run develop
28+
```
29+
30+
3. **Open the code and start customizing!**
31+
32+
Your site is now running at http://localhost:8000!
33+
34+
Edit `src/pages/index.tsx` to see your site update in real-time!
35+
36+
4. **Learn more**
37+
38+
- [Documentation](https://www.gatsbyjs.com/docs/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter-ts)
39+
40+
- [Tutorials](https://www.gatsbyjs.com/tutorial/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter-ts)
41+
42+
- [Guides](https://www.gatsbyjs.com/tutorial/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter-ts)
43+
44+
- [API Reference](https://www.gatsbyjs.com/docs/api-reference/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter-ts)
45+
46+
- [Plugin Library](https://www.gatsbyjs.com/plugins?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter-ts)
47+
48+
- [Cheat Sheet](https://www.gatsbyjs.com/docs/cheat-sheet/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter-ts)
49+
50+
## 🚀 Quick start (Gatsby Cloud)
51+
52+
Deploy this starter with one click on [Gatsby Cloud](https://www.gatsbyjs.com/cloud/):
53+
54+
[<img src="https://www.gatsbyjs.com/deploynow.svg" alt="Deploy to Gatsby Cloud">](https://www.gatsbyjs.com/dashboard/deploynow?url=https://github.com/gatsbyjs/gatsby-starter-minimal-ts)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/** @type {import('gatsby).GatsbyConfig} */
2+
module.exports = {
3+
siteMetadata: {
4+
siteUrl: `https://www.yourdomain.tld`,
5+
},
6+
plugins: [
7+
8+
]
9+
}

0 commit comments

Comments
 (0)