Project structure description: This project follows an approach of 2 yarn workspaces. Into src
directory you will find core
and views
directories.
core
: Holds everything concerned to business logic.
views
: As the name implies, this directory holds everything concerned to Frameworks or Libraries to build user interfaces.
The modularity of the project has the advantage of being able to consume src/core
from any framework or library. This allows to have many frameworks coexisting in the same project.
Advice: Since the project consists of 2 yarn workspaces, node_modules
must be installed in all of them.
Install dependencies on the root project directory
Install dependencies into Framework/library root dir src/views/react-client
npm install
# or
yarn
# or
pnpm install
To run the development server:
Positioned into Framework/library root dir src/views/react-client
npm run dev
# or
yarn dev
# or
pnpm dev
Open http://localhost:5173 with your browser to see the result.