Commit 5b9ac8bf authored by redwane mahjoubi's avatar redwane mahjoubi

Update README.md

parent 7ff37d13
Installation ##Installation
1. Install dependencies : ###1. Install dependencies :
~ For Windows run : ~ For Windows run :
npm i skyid-sdk-web-win npm i skyid-sdk-web-win
...@@ -10,9 +10,9 @@ npm i skyid-sdk-web-win ...@@ -10,9 +10,9 @@ npm i skyid-sdk-web-win
npm i skyid-sdk-web-lx npm i skyid-sdk-web-lx
2. You will find the ‘skyid_impl_v1.js’ file in the assets folder: ###2. You will find the ‘skyid_impl_v1.js’ file in the assets folder:
structure_of_folder structure_of_folder
3.In your components import the Jquery and the SDK Web : ###3.In your components import the Jquery and the SDK Web :
<script> <script>
import $ from 'jquery'; import $ from 'jquery';
...@@ -21,7 +21,7 @@ import * as skyid_imp from '../assets/skyid_impl_v1'; //Location of 'skyid_impl_ ...@@ -21,7 +21,7 @@ import * as skyid_imp from '../assets/skyid_impl_v1'; //Location of 'skyid_impl_
</script> </script>
4.copy the code bellow inside the useEffect(){...} lifecycle Hook: ###4.copy the code bellow inside the useEffect(){...} lifecycle Hook:
useEffect(()=>{ useEffect(()=>{
skyid_imp.initViewComponent() skyid_imp.initViewComponent()
...@@ -62,7 +62,7 @@ import * as skyid_imp from '../assets/skyid_impl_v1'; //Location of 'skyid_impl_ ...@@ -62,7 +62,7 @@ import * as skyid_imp from '../assets/skyid_impl_v1'; //Location of 'skyid_impl_
},[]) },[])
5.Copy the HTML code : ###5.Copy the HTML code :
<div class="wrapper"> <div class="wrapper">
<div id="skyid_fa_document_container"> <div id="skyid_fa_document_container">
...@@ -90,7 +90,7 @@ import * as skyid_imp from '../assets/skyid_impl_v1'; //Location of 'skyid_impl_ ...@@ -90,7 +90,7 @@ import * as skyid_imp from '../assets/skyid_impl_v1'; //Location of 'skyid_impl_
6.Add CSS style: ###6.Add CSS style:
<style> <style>
html, body { html, body {
...@@ -202,9 +202,6 @@ transition-duration: .1s; ...@@ -202,9 +202,6 @@ transition-duration: .1s;
# Getting Started with Create React App # Getting Started with Create React App
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment