From 0cf6995e7c412a9c5cabcd13a81dd42d1906877b Mon Sep 17 00:00:00 2001 From: Andreas Remdt Date: Thu, 30 Jul 2020 20:50:55 +0200 Subject: [PATCH] docs(): added more examples --- CHANGELOG.md | 6 ++++++ README.md | 7 ++++++- package.json | 2 +- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index faaeb38..e877e44 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [2.0.1] - 2020-07-30 + +### Changed + +- Added more [CodeSandbox examples](<(https://github.com/andreasremdt/simple-translator#examples)>) to the documentation's example section. + ## [2.0.0] - 2020-07-29 ### Breaking changes diff --git a/README.md b/README.md index 41c8949..470cb2e 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,12 @@ yarn add @andreasremdt/simple-translator ## Examples -For a full demo in the browser, open this [CodeSandbox link](https://codesandbox.io/s/simple-translator-demo-e33ye?file=/src/index.js). +Want to see the bigger picture? Check out the live demos at CodeSandbox and see how you can integrate the library with popular frameworks or in pure JavaScript: + +- [Vanilla JavaScript](https://codesandbox.io/s/simple-translator-vanilllajs-e33ye) +- [React](https://codesandbox.io/s/simple-translator-react-1mtki?file=/src/Content.js:0-27) +- [Vue.js](https://codesandbox.io/s/simple-translator-vuejs-iep2j?file=/src/main.js) +- _Lit-Element (Web Components) currently in progress_ ### Translate HTML in the browser diff --git a/package.json b/package.json index 6f4e30c..75854df 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@andreasremdt/simple-translator", - "version": "2.0.0", + "version": "2.0.1", "description": "Simple client-side translation with pure JavaScript.", "main": "dist/cjs/translator.min.js", "module": "dist/esm/translator.min.js",