AOT/JIT compatible Angular component to embed Fiddle
- Install this Library
- Declare NgFiddleModule in your root module
- Use ng-fiddle template
tabs: string (optional)
skin: string (optional)
Modify this library
# Clone the repositorygit clone https://github.com/iwannabebot/ng-fiddle.git# Go to repository foldercd ng-fiddle# Install all dependenciesyarn install# Build the libraryyarn build
Build the library
yarn buildfor building the library once (both ESM and AOT versions).
yarn build:watchfor building the library (both ESM and AOT versions) and watch for file changes.
You may also build UMD bundle and ESM files separately:
yarn build:esm- for building AOT/JIT compatible versions of files.
yarn build:esm:watch- the same as previous command but in watch-mode.
yarn build:umd- for building UMD bundle only.
yarn build:umd:watch- the same as previous command but in watch-mode.
yarn lintfor performing static code analysis.
yarn testfor running all your
*.spec.tstests once. Generated code coverage report may be found in
yarn test:watchfor running all you
*.spec.tsand watch for file changes.
yarn docsfor generating documentation locally.
yarn gh-pagesfor generating documentation and uploading it to GitHub Pages.
yarn explorerto find out where all your code in bundle is coming from.
npm version patchto increase library version. More on bumping.
npm publishto publish your library sources on npmjs.com.
yarn clean:tmpcommand will clean up all temporary files like
yarn clean:allcommand will clean up all temporary files along with