Closed JamesFreeman closed 4 years ago
Any idea if this has been done, or if it's in progress, or not happening?
I'd like to add it to a Shopify Custom Theme Section, so that it's not unnecessarily loaded on all pages.
Added AMD support, please test it.
You should now be able to install it using:
npm install jsanahuja/instagramfeed
Thank you both
Hey @jsanahuja Thanks for adding it, however after installing, and adding import { InstagramFeed } from "@jsanahuja/instagramfeed";
, I get Module not found: Error: Can't resolve '@jsanahuja/instagramfeed'
What is your environment? Vanilla JS, webpack, node? A repository example would be helpful
Thanks!
I believe it should work now. I tested with webpack
:
import InstagramFeed from '@jsanahuja/instagramfeed';
console.log(InstagramFeed);
const root = document.createElement("div")
root.id = 'instagram-feed'
document.body.appendChild(root)
new InstagramFeed({
'username': 'instagram',
'container': document.getElementById("instagram-feed"),
'display_profile': true,
'display_biography': true,
'display_gallery': true,
'callback': null,
'styling': true,
'items': 8,
'items_per_row': 4,
'margin': 1
});
Please try with the new @1.2.3 release Thank you!
HI! Thank you for adding, but it looks like something is broken. I can't find the package on NPM.
From https://yarnpkg.com/package/instafeed i got it workin gon nuxt.
Please update your doc: yarn add instafeed
then
import InstagramFeed from 'instafeed'
From https://yarnpkg.com/package/instafeed i got it workin gon nuxt.
Please update your doc: yarn add instafeed
then
import InstagramFeed from 'instafeed'
That is not related to this repository
HI! Thank you for adding, but it looks like something is broken. I can't find the package on NPM.
For me it works using npm install jsanahuja/InstagramFeed
If you are trying as it shows here then you need to configure the github registry in your NPM:
npm config set registry https://npm.pkg.github.com/
npm install @jsanahuja/instagramfeed@1.4.0
Note that you will have to configure back your registry to install packages that are not in the github registry:
npm config set registry https://registry.npmjs.org/
Hi there, this looks like an amazing project.
I'm trying to install this into my project via
yarn
but it doesn't look like you've published it to a npmjs site and created a tagged release. Would it be possible to do this?Also, would it be possible to give us the ability to import the project instead of having have a hardcoded .js in the header?
This would enable a developer to do something like this: