1.0.0 • Published 4 years ago
vsmart-courseware-tools v1.0.0
vsmart-courseware-tools
UI for vsmart courseware service
Development
To start watch mode
- cd project folder
- yarn start { runs rollup with watch flag }
To start watch mode and run display app that's linked to local version of module
- cd project folder
- yarn start { runs rollup with watch flag }
&&
on another terminal 3. cd project folder/example 4. yarn start { runs create-react-app dev server }
Install
npm install --save vsmart-courseware-tools
yarn add vsmart-courseware-tools
or
yarn add [file path]/vsmart-courseware-tools
Usage
import React, { Component } from 'react'
import { Mycomponent } from 'vsmart-courseware-tools'
class Example extends Component {
render () {
return (
<MyComponent />
)
}
}
Available Components
- CourseItemCard
- CoursewareView
- CreateCoursewarePage
- Crossword
- CoursewarePlayer
- MemoryGame
- CustomEditor
Note: Read me is available for each component for reference
UPDATES
New Components:
- CoursewarePlayer
- Memory Game --> MemoryGame
- Ckeditor based EDITOR --> CustomEditor
Code Structure:
- Change backendLink expected value from being a url to a graphql client
- Added validations to Create courseware
License
If encountering babel version error:
yarn add babel-loader@^8.0.0-beta --dev
1.0.0
4 years ago