1. You cant install npm at root folder
2. We have different themes for admin and frontend at folder: public/themes
2.1 For admin:
Go to public/themes/admin,
- Run to install packages: yarn
- Run for development (on your local PC): yarn watch
- Run for production(on your server) : yarn prod
2.2 For Frontend
Go to public/themes/bc
- Run: yarn
- Run for development (on your local PC): yarn watch
- Run for production(on your server) : yarn prod
Why we need to run twice for admin/frontend?
Because each of them use different packages / versions. Admin is quite stable but Frontend can be used different framework (tailwind or something in the future, or maybe update bootstrap to next version)