GroceriStar / shoplist-sandbox

0 stars 1 forks source link

re-create examples section #34

Open atherdon opened 5 years ago

atherdon commented 5 years ago

so, we moved away our components into this module: https://github.com/GroceriStar/shoplist-blocks-component and i want to have here an examples page where we can render our components again. nothing complex - just enable ability to have a separate place..

vadim9999 commented 5 years ago

@atherdon this project also has problem with sd-wrapper with folder dist

atherdon commented 5 years ago

yeah, i know

vadim9999 commented 5 years ago

How can I run ExampleView in shoplist-blocks-component? Becase now I have error, and to change and run code I need make build in shoplist-bloks-component and copy and past folder dist in react-shopping-list-template. Do you have another way to debug code? Or should I create Example page in react-shoppin-list-template and then import components from shoplist-blocks-component?

atherdon commented 5 years ago

from my quick overview - yes, it maybe will work fine:

Or should I create Example page in react-shoppin-list-template and then import components from shoplist-blocks-component?

but i think in order to find the best way for you - you should check codebase of all of our new react components, that i moved out: antd-showcase, cards-wrapper, grocery-component, etc. Maybe you'll find a similar solution there. list of components: