https://face-company-98y31c3iv-lucasmelo18.vercel.app/ Production Version
-
Alias
-
First Steps
-
Running Project
-
Using a alias
-
Building for production
-
API Reference
We have the following aliases configured in webpack:
app-actions
- Reference toredux/_actions
folderapp-components
- Reference tocomponents
folderapp-consts
- Reference toconsts
folderapp-hooks
- Reference tohooks
folderapp-images
- Reference topublic/images
folderapp-models
- Reference tomodels
folderapp-services
- Reference toservices
folderapp-utils
- Reference toutils
folder
Install the dependencies
npm install
# ou
yarn
Run the following command to run the project
npm run dev
# ou
yarn dev
the project will run on port 3000
http://localhost:3000
Inside the components
folder we have an index.js
file, which exports all the components we have in the project.
You can import a component using the app-components
alias that references this folder
Exemple
import { MyComponent } from 'app-components'
If you import more than one component, just separate them with a comma
Exemple
import { MyComponent, AnotherComponent } from 'app-components'
Execute the command
npm run build
# ou
yarn build
Execute the command
npm test
# ou
yarn test
This project uses the API below
https://jsonplaceholder.typicode.com/