bananas-commerce-admin v0.4.2
Bananas-commerce-admin
Bananas-commerce-admin is an new and updated version of django-bananas.js operating with the same routing and apis, but updated to use typescript and react hooks as much as possible. It still contains some legacy code and logic from the old admin but is much more user friendly and looks just about the same.
Development
To install the packages run
$ npm run dev:install
To execute the project run
$ npm run dev
Usage locally within another admin
To use the local bananas-commerce-admin
package when developing locally some
npm magic is needed. This is done by running the following commands after building:
bananas-commerce/admin $ npm link
# This needs to be run to prevent duplicate react versions because locally within the
# bananas-commerce-admin project you need react when building. But using npm link all
# dependecies, peer, development and normal will tag along causing issues.
project-admin $ npm link bananas-commerce-admin react react-dom
⚠️ Troubleshooting:
# If stuff still doesn't work these troubleshooting steps usually fix it:
bananas-commerce/admin $ npm unlink
bananas-commerce/admin $ rm -rf dist node_modules
bananas-commerce/admin $ npm i
bananas-commerce/admin $ npm run build
bananas-commerce/admin $ npm link
# And for the project-admin:
project-admin $ npm unlink bananas-commerce-admin react react-dom
project-admin $ rm -rf public node_modules
project-admin $ npm i
project-admin $ npm link bananas-commerce-admin react react-dom
project-admin $ npm run build
22 days ago
3 months ago
4 months ago
4 months ago
4 months ago
10 months ago
7 months ago
7 months ago
7 months ago
8 months ago
8 months ago
9 months ago
9 months ago
9 months ago
6 months ago
6 months ago
6 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
12 months ago
12 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago