Skip to content

Commit f182a70

Browse files
committed
Move react tutorials into coding tutorials repository.
1 parent ae4b71a commit f182a70

File tree

215 files changed

+289764
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

215 files changed

+289764
-0
lines changed

_templates/01-basic/.gitignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
8+
# testing
9+
/coverage
10+
11+
# production
12+
/build
13+
14+
# misc
15+
.DS_Store
16+
.env.local
17+
.env.development.local
18+
.env.test.local
19+
.env.production.local
20+
21+
npm-debug.log*
22+
yarn-debug.log*
23+
yarn-error.log*

_templates/01-basic/.prettierrc.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
module.exports = {
2+
semi: true,
3+
tabWidth: 2,
4+
printWidth: 80,
5+
singleQuote: true,
6+
trailingComma: 'es5',
7+
arrowParens: 'always',
8+
};

_templates/01-basic/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
## Tech
2+
3+
- React
4+
- TypeScript
5+
- Redux (counter example)
6+
- Tailwind CSS (toggle themes)
7+
8+
## Getting Started
9+
10+
```
11+
npm install
12+
npm run start
13+
```
14+
15+
## Screenshot
16+
17+
![Screen Shot 2021-08-20 at 5 59 24 PM](https://user-images.githubusercontent.com/70355008/130301019-a9e17a63-4d5e-4446-a13b-64a0e39f40f9.png)

_templates/01-basic/craco.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module.exports = {
2+
style: {
3+
postcss: {
4+
plugins: [require("tailwindcss"), require("autoprefixer")],
5+
},
6+
},
7+
};

0 commit comments

Comments
 (0)