Angular2 directive for clipboard.js by @zenorocha
- Angular 2
- clipboard.js
You can get it on npm.
npm install angular2-clipboard --save
1. npm i
2. npm run build
- Your commits conform to the conventions established here
- This project used commitizen and semantic-release to handle npm version from CI
- run git add first to add your changes to staging
- use
npm run committo commit, and CI will do the rest.
If you see the following error message.
Import assignment cannot be used when targeting ECMAScript 2015 modules. Consider using 'import * as ns from "mod"', 'import {a} from "mod"', 'import d from "mod"', or another module format instead.
Please check if the module setting in tsconfig.json is set to commonjs
Kudos to Thierry Templier This project is base on his answer on StackOverflow