mykademy-learner-dashboard
v0.6.149
Published
mykademy learner dashboard
Downloads
121
Readme
mykademy-learner-dashboard
test student_dashboard
Install
npm install --save mykademy-learner-dashboard
Usage
import React, { Component } from 'react'
import MyComponent from 'mykademy-learner-dashboard'
import 'mykademy-learner-dashboard/dist/index.css'
import 'mykademy-learner-dashboard/dist/scss/student-dashboard/main.css';
class Example extends Component {
render() {
return <MyComponent />
}
}
Package linking is a two-step process:
Create a global symlink for a dependency with npm link. A symlink, short for symbolic link, is a shortcut that points to another directory or file on your system. Tell the application to use the global symlink with npm link mykademy-learner-dashboard.
Step 1.
git clone -b library_integration https://github.com/Enfintech/student-dashboard.git
Step 2.
cd ~/project_root npm install npm link
npm run build-css npm start
Step 3.
cd ~/project_root/example npm link mykademy-learner-dashboard
npm start npm adduser npm publish
License
MIT © alexantonnie