Table of contents
Install through npm:
npm install --save @ycjs/admin
Then include in your apps module:
Finally use in one of your apps components:
You may also find it useful to view the demo source.
Usage without a module bundler
<script src="node_modules/@ycjs/admin/bundles/@ycjs/admin.umd.js"></script> <script> // everything is exported ycjsAdmin namespace </script>
Prepare your environment
- Install Node.js and NPM (should come with)
- Install local dev dependencies:
npm installwhile current directory is this repo
npm start to start a development server on port 8000 with auto reload + tests.
npm test to run tests once or
npm run test:watch to continually run tests.
- Bump the version in package.json (once the module hits 1.0 this will become automatic)
npm run release