You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-6Lines changed: 7 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -11,18 +11,18 @@ You can update the `styles/index.scss` or create new `.scss` files inside `style
11
11
### Components
12
12
Add more files into your `./src/js/components` or styles folder as you need them and import them into your current files as needed.
13
13
14
-
💡Note: There is an example using the Context API inside `pages/demo.js`;
14
+
💡Note: There is an example using the Context API inside `views/demo.js`;
15
15
16
-
### pages (Components)
17
-
Add more files into your `./src/js/pages` and import them in `./src/js/layout.jsx`.
16
+
### Views (Components)
17
+
Add more files into your `./src/js/views` and import them in `./src/js/layout.jsx`.
18
18
19
19
### Context
20
20
This boilerplate comes with a centralized general Context API. The file `./src/js/store/flux.js` has a base structure for the store, we encourage you to change it and adapt it to your needs.
The `Provider` is already set. You can consume from any component using the useContext hook to get the `store` and `actions` from the Context. Check `/pages/demo.js` to see a demo.
25
+
The `Provider` is already set. You can consume from any component using the useContext hook to get the `store` and `actions` from the Context. Check `/views/demo.js` to see a demo.
26
26
27
27
```jsx
28
28
import { Context } from"../store/appContext";
@@ -47,8 +47,9 @@ It is recomended to install the backend first, make sure you have Python 3.8, Pi
47
47
| MySQL | mysql://username:password@localhost:port/example |
0 commit comments