This is a comprehensive starter kit for creating a standalone Origami component (not an app starter kit). You should integrate your component into a larger application capable of managing data flow to all available components.
In order to utilize this successfully, you must have solid working knowledge of Facebook's React - a library for building composable user interfaces. You should understand ES2015 (ES6) syntax and concepts as well.
This starter kit implements best practices like testing, linting, bundling, transpiling ES6 to ES5, etc. It codifies a long list of decisions that you no longer have to make to get rolling. It saves you from the long, painful process of wiring it all together into an automated development environment and build process.
Consult with the UXF ownership team to determine where your component repository should live.
-
Create your new repository as decided above, using the following naming convention:
- All lowercase characters, and hyphens instead of camel case.
- Do not use "component" in the name, as it is redundant.
-
Follow these directions to stop manually authenticating to GitHub on every network request. This enables the desired use of automated npm scripts.
-
Perform these steps in your development environment:
- git clone https://github.com/Pearson-Higher-Ed/component-archetype.git
name-of-your-new-component
- cd
name-of-your-new-component
- git remote set-url origin
url-of-new-component-repository
- git remote -v
- git clone https://github.com/Pearson-Higher-Ed/component-archetype.git
-
Once you've verified that the remote origin now looks correct for your repo, do the initial push:
git push -u origin master
After completing the above steps, delete this README and rename README.consume.md as "README.md" for your project. You are ready to begin developing your component!