3.1.5 • Published 1 year ago

initial-project v3.1.5

Weekly downloads
92
License
-
Repository
github
Last release
1 year ago

Install

  • setup project by create-react-app and react router v6, redux toolkit, prettier and config pretty code pre-commit

Use global

  • npm i -g initial-project
  • initial-project <project-name>

Use by npx

  • npx initial-project <project-name>

  • HAPPY CODING!

apis

  • contain config, function request API

assets

fonts

  • contain font files

images

  • contain image follow structure <folder image name> -> index.js + <image name>.<format>

components

  • contain component share between pages

pages

  • contain page in web

tree structure

+--.husky // config pre-commit
+--node_modules
+--public
+--src
|	+--apis
|	+--assets
|	|	+--fonts
|	|	+--images
|	|	|	+--<image component name>
|	|	|	|	+--index.js
|	|	|	|	+--<image name>.<image format>
|	|	|	+--...
|	|	|	+--mapAllImage.js
|	+--components
|	|	+--Component1
|	|	|	+--index.js
|	|	|	+--index.styles.js
|	|	+--...
|	+--pages
|	|	+--AllImage
|	|	|	+--index.js
|	|	|	+--index.styles.js
|	|	+--Page1
|	|	|	+--components
|	|	|	|	+--Component1InPage2
|	|	|	|	+--Component2InPage2
|	|	|	+--index.js
|	|	|	+--index.styles.js
|	|	+--Page2 //page contain nested page
|	|	|	+--components
|	|	|	|	+--Component1InPage2
|	|	|	|	+--Component2InPage2
|	|	|	+--pages
|	|	|	|	+--SubPage1InPage2
|	|	|	|	+--SubPage2InPage2
|	|	|	|	+--...
|	|	|	|	+--routes.js
|	|	|	+--index.js
|	|	|	+--index.styles.js
|	|	+--Page3
|	|	|	+--index.js
|	|	|	+--index.styles.js
|	|	+--...
|	|	+--routes.js
|	+--redux
|	|	+--countSlice.js // create slide follow redux toolkit
|	|	+--...
|	|	+--index.js //store
|	|	+--reducer.js
|	+--App.js
|	+--index.css
|	+--index.js // entry point
|	+--reportWebVitals.js
|	+--setupTests.js
+--.gitignore
+--.prettierignore
+--.prettierrc // config prettier
+--package.json
+--package-lock.json
+--README.md
+--yarn.lock

If you want to buy us a coffee

ko-fi

3.1.3

1 year ago

3.1.5

1 year ago

3.1.4

1 year ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

3.0.3

2 years ago

3.0.2

2 years ago

3.0.1

2 years ago

3.0.0

2 years ago

1.1.15

3 years ago

1.1.14

3 years ago

1.1.9

3 years ago

1.1.8

3 years ago

1.1.7

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.12

3 years ago

1.1.11

3 years ago

1.1.10

3 years ago

1.1.13

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago