Hello! Im using Odoo 13, I want to know if its possible to create an Odoo website with the React.js framework and if its possible, how to do it? I searched but I dont saw much information about that. If someone can explain me please how to achieve it, thanks a lot :)
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
Hello Fernanda,
Odoo does not directly support react.js library but you can integrate it by loading its library through the Odoo's assets bundle. After adding it in the Odoo bundle you can import this in the javascript file same as any other javascript file.
If you are using Non-standard JavaScript syntax such as JSX then you need a transcompiler like babel to convert it into normal JavaScript.
Alternatively, we've built some Odoo headless eCommerce components separately with Next.JS.
For more details on this, you can check our blog here >> https://webkul.com/blog/how-to-create-product-page-using-odoo-api-in-nextjs/ .
In case of any further queries, you can reach us at support@webkul.com
Thanks & Regards
Webkul Team
Hi Fernanda,
Yes, it is totally doable to create a full website or just a module view template fully in React and well integrated with Odoo.
As Odoo does not support React integration natively, the key is to develop in isolated environments and then integrate accordingly.
We have created a fully functional react app as an Odoo module. It is published by the name of "docket_react_wiki" on the Odoo app store, you can check.
If you want to collaborate, ping me at info@techfinna.com
Hi ! In Odoo 13 there are several ways you can integrate your react application depending upon you requirements. if you want to use Odoo as a Backoffice to your Reactjs application you can either generate AWS lambdas which contains external api
Reference Documentation : https://www\.odoo\.com/documentation/13\.0/developer/misc/api/odoo\.html
Or\ you\ can\ refer\ to\ nodejs\ custom\ libraries/packages\ which\ will\ connect\ to\ odoo\ for\ you \ using\ similar\ procedures\ referred\ above\.
Reference\ Link: https://www.npmjs.com/search?q=Odoo
I hope this information will help you.
Regard
M. Usama Hassan
Odoo/Python Developer @ Visiomate
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
1
thg 5 25
|
362 | ||
|
2
thg 5 25
|
920 | ||
|
0
thg 11 24
|
827 | ||
|
1
thg 7 24
|
2237 | ||
|
0
thg 8 24
|
340 |