0.0.1 • Published 9 years ago
fluxible-plugin-loadsdk v0.0.1
Flxible plugin for client sdk loading
install
napm install --save fluxible-plugin-loadsdk
Usage
import loadSdkPlugin from 'fluxible-plugin-loadsdk'
app.plug(loadSdkPlugin{
gapi: {
name: 'gapi',
src: 'https://apis.google.com/js/client.js',
},
FB: {
name: 'FB',
id: 'facebook-jssdk',
src: 'https://connect.facebook.net/en_US/sdk.js',
onLoadFunctionName: 'fbAsyncInit',
},
})
0.0.1
9 years ago