Skip to main content

Preparing The Project

Once the package is successfully installed, now le'ts head to preparing our project

Path Aliasing#

One of the most important things to take care of, is using paths aliasing for files.

package.json
  "scripts": {    "start": "npx react-scripts start",    "build": "npx react-scripts build",    "test": "npx react-scripts test",    "eject": "npx react-scripts eject",    "postinstall": "npx link-module-alias",    "wizard": "npx mongez wizard"  },  "_moduleAliases": {    "assets": "src/shared/assets",    "shared": "src/shared",    "apps": "src/apps",    "app": "src/apps/front-office"  },

See Path Aliasing in depth from here