-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
box-content-preview not available on NPM #752
Comments
Hey @addula, |
Hi @jeremypress I saw box-ui-elements (npm component) which consists box-content-preview too. As per documentation mentioned in box-content-preview, It looks like |
@addula Unfortunately we only support these two scenerios right now: 1] If you are a React app that can import our react components directly using ES2015 syntax, use UI Elements from NPM https://www.npmjs.com/package/box-ui-elements. Example for this is https://github.com/box/box-content-preview-demo/blob/master/src/index.js. Even if you use this mode, certain scripts are going to come from CDNs. The react wrapper component will auto add 2] If you are not a React app, then you have to use our libraries via a We do not have any near term plans to support publishing a pure npm version of preview. |
I'll keep this open for tracking purposes, as this is a feature request and will most likely come up again. |
Thank you @priyajeet for detailed info. |
Please fill out the following template so we can reproduce and fix your issue as quickly as possible!
Environment:
Steps to reproduce the problem:
What is the expected behavior? (Screenshots can be helpful here)
box-content-preview availability on NPM
What went wrong? (Screenshots can be helpful here)
box-content-preview not available on NPM
Link to application or sample code:
If relevant, link to file (or attach file here):
The text was updated successfully, but these errors were encountered: