super-social-sdk
The SDK contains logic and components for Social vertical (feed, profiles, chat, etc.). The implementation uses Vue.js and the SDK itself is exported as a Vue plugin for easy usage & implementation in 3rd party projects.
Features
- ES6 syntax, managed with Prettier + Eslint and Stylelint
- Unit testing via Jest
Install
yarn add super-social-sdk
// or
npm i super-social-sdk
Requirements
- Node.js
v14.x
or later - Vue
- Vuex
Usage
import { SuperSocialProfile } from 'super-social-sdk';
import Vue from 'vue';
import router from './router';
import store from './store'
import App from './App';
new Vue({
name: 'Root',
router,
store,
mounted () {
SuperSocialProfile({
baseUrl: process.env.BASE_URL,
key: process.env.KEY,
})
},
render: h => h(App)
}).$mount('#app')