<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Justice Selorm Bruce on Medium]]></title>
        <description><![CDATA[Stories by Justice Selorm Bruce on Medium]]></description>
        <link>https://medium.com/@ewave80?source=rss-da6640428bbf------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*UX4sDvs3PbleEeIwJTfXew.jpeg</url>
            <title>Stories by Justice Selorm Bruce on Medium</title>
            <link>https://medium.com/@ewave80?source=rss-da6640428bbf------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 19:02:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ewave80/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Adding Font Awesome to Laravel 5.8]]></title>
            <link>https://medium.com/@ewave80/adding-font-awesome-to-laravel-5-8-4dbb4ac4adfa?source=rss-da6640428bbf------2</link>
            <guid isPermaLink="false">https://medium.com/p/4dbb4ac4adfa</guid>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[laravel]]></category>
            <category><![CDATA[font-awesome]]></category>
            <dc:creator><![CDATA[Justice Selorm Bruce]]></dc:creator>
            <pubDate>Sun, 11 Aug 2019 12:52:36 GMT</pubDate>
            <atom:updated>2020-06-10T12:30:45.746Z</atom:updated>
            <content:encoded><![CDATA[<h3>Adding Font Awesome to Laravel 5.8 and above</h3><p>Today, we are going to go through a step by step approach in adding Font Awesome to Laravel 5.8 application.</p><p>To start with, cd (navigate) into your project directory. We will install node modules through Node Package Manager (npm).</p><p>if you are new to npm, you can check out their official Doc by clicking on the link below.</p><p><a href="https://nodejs.org/en/">Node.js - Run JavaScript Everywhere</a></p><p>while in your project directory, run “ npm install”. this will install node package and all related dependencies for you.</p><p>please be patient, it will tale some time to install depending on the speed of your internet. After a successful installation, you should have (fig1.1 below) in your Laravel directory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/493/1*RFSEawkeoO3hCbBm4SSXlw.png" /><figcaption><strong>fig.1. 1 node_modules folder highlighted after npm install is successful</strong></figcaption></figure><p>After a successful installation of the node_module, let head to the official website for Font Awesome.</p><p><a href="https://fontawesome.com/">Font Awesome</a></p><p>while on the official website, click on the “<strong> Start for free</strong>” button.scroll down and click on npm in (fig.1.2) below. or optional, i have provided the code below, copy and past in your Laravel project directory and hit enter to install</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oomuHnfMLUPSrJ4GpD_gUA.png" /><figcaption>fig 1.2</figcaption></figure><h4>you will be navigated. scroll down and copy past the installation code for Font awesome through npm. fig(1.3)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o9elVvEMpkm8hECVZ6rEKw.png" /><figcaption>npm install — save-dev <a href="http://twitter.com/fortawesome/fontawesome-free">@fortawesome/fontawesome-free</a></figcaption></figure><p>after a successful installation, you should check your package.json file and have the dependency of Font-awesome resisted. fig 1.4 shows more details.</p><p>in your project, pull out your terminal and run “<strong>npm run watch</strong>”. this will compile everything and make it ready for use.fig 1.4 shows more details.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1rBBHzRuD9XrrYn7XtG81A.png" /><figcaption>fig 1.4</figcaption></figure><p>if “<strong>npm run watch</strong>” is successful, you should have the following. else run it again. please make sure to be connected to the internet because it will download some other dependencies. fig 1.5 shows success.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/798/1*pjhzC3zEykGqbbvwADjm8w.png" /><figcaption>fig.15</figcaption></figure><p>Now let navigate to our resource folder in our project, navigate to the scss folder and then app.scss. fig 1.6 shows more details.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/497/1*v9cpk5GYe8LtvhzF5T7FGA.png" /></figure><p>Now, let import font-awesome from node_module.like this in (fig 1.7). you can also copy and paste this in your app.scss file.</p><p>“<strong>@import ‘~@fortawesome/fontawesome-free/scss/fontawesome.scss’;</strong>”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/917/1*Z3Tc04ttiDScwK8FfvN_FA.png" /><figcaption>fig 1.7</figcaption></figure><p>Now, lets go ahead to do other stuffs.let head back to Font-Awesome Official website. click on the button Start for free and select the<strong> scss </strong>button. now we will do a little configuration.</p><p>we need to Add Font Awesome to Your Compile. we can do this by importing this in our app.scss file. “<strong>$fa-font-path: “../webfonts”;</strong>” or equally you can copy from their website.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*99UZ7o2MCZDtFdbYK0NxtQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6LTbJ8WiX4mRxR1_cilCOA.png" /></figure><p>We are almost done, depending on what feature you want to use, like icons or Brands or animations, we have to import that. let test all this by using the icon. so i will like to change the login on my auth dashboard to an icon. lets do that and see. In doing this, for an icon, we should import solid.scss. Lets do that now.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/763/1*wKI6XpGSPxj_xKwIXlHSsQ.png" /></figure><p>from here, i can then use my icon. here is the sample code.</p><p>and the result is.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RugbB_LXzSWWeZunyb1JFA.png" /></figure><p>so now we have integrated font awesome. Congratulations.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4dbb4ac4adfa" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ngx-toastr in Angular 7]]></title>
            <link>https://medium.com/better-programming/ngx-toastr-in-angular-7-185ac435011e?source=rss-da6640428bbf------2</link>
            <guid isPermaLink="false">https://medium.com/p/185ac435011e</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[angular-7]]></category>
            <dc:creator><![CDATA[Justice Selorm Bruce]]></dc:creator>
            <pubDate>Mon, 11 Feb 2019 01:05:15 GMT</pubDate>
            <atom:updated>2020-06-10T12:29:59.262Z</atom:updated>
            <content:encoded><![CDATA[<h3>ngx-toastr in Angular 7 and above</h3><h4>A step-by-step approach to install and configure ngx-toastr in your Angular 7 project</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/892/1*J13mVrWAE6ZEd8R_HwV2-w.png" /></figure><p>It is always good practice to display a particular message/notification regarding whatever a user is doing. For example, when a user submits a message or subscribes to a newsletter, we should notify them whether their request was successfully submitted or not.</p><p>In this piece, we are going to take a step-by-step approach to install and configure ngx-toastr in your Angular 7 project.</p><p>I assume most of you have already created your Angular application but if not, run:</p><p>ng new ‘name of app’</p><p>to create one.</p><h3><strong>Step One</strong></h3><p>In your terminal, type the following line and hit enter to install the package:</p><p>npm install ngx-toastr — save</p><p>or</p><p>you can visit the website below</p><p><a href="https://www.npmjs.com/package/ngx-toastr">ngx-toastr</a></p><h3><strong>Step Two</strong></h3><p>If you aren’t going to work with @angular/animation you can skip this step, otherwise, type the following code in your terminal and hit enter:</p><p>npm install @angular/animations — save</p><p><em>Note: The </em><em>@angular/animations package is a required dependency for the default toast.</em></p><h3><strong>Step Three</strong></h3><p>Navigate to your node_module folder and locate ngx-toastr to confirm a successful installation</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/731/1*Z5zPUcs5vSgIiRz97OZWXg.png" /></figure><p>In the next step, we’ll look at how we can configure and use it in our application.</p><h3><strong>Step Four</strong></h3><p>ngx-toastr comes with its own default CSS, but we can set custom CSS as well. To be able to use the CSS class in ngx-toastr, in style.css type:</p><p>@import “../node_modules/ngx-toastr/toastr.css”;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/413/1*1y4XfNtenEWVdWRtOk6wZw.png" /></figure><h3><strong>Step Five</strong></h3><p>Before we can use ngx-toastr in any part of our Angular Application, we need to import it into the app.module.ts file, which is the main entry point for all modules, components, and services in our program. Let’s go ahead and import ToastrModule from ‘ngx-toastr’ like so:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/453/1*9hxUV0jR3A7Rx4dcMaxo0w.png" /></figure><p>and in our imports array, enter:</p><p>ToastrModule.forRoot(),</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/537/1*H-SCBUeRccuPc0tE-L-rsw.png" /></figure><p>Finally, before we can use ngx-toastr in any component in our Angular application, we need to run:</p><p>import { ToastrService } from ‘ngx-toastr’;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/489/1*2xrhESYxici18bA-JEUQGw.png" /></figure><p><em>Note: If you are familiar with Angular, you will realize that every service generated needs to be added to the provider&#39;s array in the </em><em>app.module.ts file, but not for the toaster service.</em></p><p>It is time for us to inject ToastrService<strong> </strong>into the respective component.ts constructor by running:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/638/1*uBZf5_oBLRJeAsjw2BnKIg.png" /></figure><h3><strong>Conclusion</strong></h3><p>We can use our service now!</p><p>Example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/515/1*p9tvS3kCn8SFvpO5o597Fw.png" /></figure><p>In this case, you can call in the method or function where you want to use it.</p><p>The first argument holds the title of the message you want to show to the user and the second argument is the message you want to display to the user.</p><p>Thank you for reading, I hope you enjoyed this piece!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=185ac435011e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/better-programming/ngx-toastr-in-angular-7-185ac435011e">ngx-toastr in Angular 7</a> was originally published in <a href="https://betterprogramming.pub/">Better Programming</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using Materializecss with Angular 7]]></title>
            <link>https://medium.com/@ewave80/using-materializecss-with-angular-7-87a7f1a1e74d?source=rss-da6640428bbf------2</link>
            <guid isPermaLink="false">https://medium.com/p/87a7f1a1e74d</guid>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Justice Selorm Bruce]]></dc:creator>
            <pubDate>Sat, 09 Feb 2019 23:47:20 GMT</pubDate>
            <atom:updated>2020-06-10T12:31:37.134Z</atom:updated>
            <content:encoded><![CDATA[<h3>Using Materializecss with Angular 7 and above</h3><p>In this tutorial, i will assume you have already created your Angular application but if not</p><p>run</p><p><strong>ng new ‘name of app’</strong></p><p>to create one.</p><p><strong>Step 1.</strong> visit</p><p><a href="https://materializecss.com/">Materialize</a></p><p><strong>Step 2.</strong></p><p>on the startup page, click on <strong>Materialize</strong> button</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/383/1*XkL9sk6xlygp0_DWealKDA.png" /></figure><p>after a successful download, you should have a a zipped file like</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/206/1*P6pzSHrzXX3zxZC1Z2Ty_A.png" /></figure><p><strong>Step 3.</strong></p><p>you have to unzip the file above.after a successful unzipping of the file, you should have something like so</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/248/1*Pute742_2Crw0yxL6-rudw.png" /></figure><p><strong>Step 4.</strong></p><p>copy this folder into your assets folder in your Angular project like so</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/688/1*NiJ6mT_KTAUo3oHcVOBPwA.png" /></figure><p><strong>Step 5.</strong></p><p>Navigate to your <strong>style.css </strong>in your project like so</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/413/1*1y4XfNtenEWVdWRtOk6wZw.png" /></figure><p><strong>Step 6.</strong></p><p>In your style.css file copy past this, like so</p><p>@import “../src/assets/materialize/materialize/css/materialize.css”;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/805/1*EbSBaRUMHQaZMUkS8G0nOA.png" /></figure><p><strong>Finnaly</strong></p><p><strong>You are set to use materializecss.</strong></p><p><strong>Examples.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/558/1*kJ8sA5grU2Ny0j0gsDIyiQ.png" /></figure><p><strong>Output</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/657/1*eBJG_knQal2uuNfWLttaHg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=87a7f1a1e74d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using Semantic UI with Angular 7]]></title>
            <link>https://medium.com/@ewave80/using-semantic-ui-with-angular-7-3f42af37a09f?source=rss-da6640428bbf------2</link>
            <guid isPermaLink="false">https://medium.com/p/3f42af37a09f</guid>
            <category><![CDATA[typescript]]></category>
            <category><![CDATA[html5]]></category>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Justice Selorm Bruce]]></dc:creator>
            <pubDate>Fri, 08 Feb 2019 21:42:57 GMT</pubDate>
            <atom:updated>2020-06-10T12:32:15.722Z</atom:updated>
            <content:encoded><![CDATA[<h3>Using Semantic UI with Angular 7 and above</h3><p>In this tutorial, i will assume you have already created your Angular application but if not</p><p>run</p><p><strong>ng new ‘name of app’</strong></p><p>to create one.</p><p><strong>Step 1.</strong> visit</p><p><a href="https://semantic-ui.com/"><em>https://semantic-ui.com</em></a></p><p><strong>Step 2.</strong></p><p>on the startup page, click on <strong>Download Zip</strong> button</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/681/1*mvvJHCeQnH1wMoUqnNAQRw.png" /></figure><p>after a successful download, you should have a a zipped file like</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/198/1*pM_HXtZPE4CCValz7BMEPg.png" /></figure><p><strong>Step 3.</strong></p><p>you have to unzip the file above.after a successful unzipping of the file, you should have something like so</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/233/1*Bhn0ZHcqtrX15Eiui4qy2w.png" /></figure><p><strong>Step 4.</strong></p><p>copy this folder into your assets folder in your Angular project like so</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/405/1*f6UZO-WarTODC21IZ9pnsA.png" /></figure><p><strong>Step 5.</strong></p><p>Navigate to your <strong>style.css </strong>in your project like so</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/413/1*1y4XfNtenEWVdWRtOk6wZw.png" /></figure><p><strong>Step 6.</strong></p><p>In your style.css file copy past this, like so</p><h4>@import “../src/assets/Semantic-UI-CSS-master/semantic.css”;</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/631/1*dflQqnkxdNGwQDFj89CIOQ.png" /></figure><p><strong>Finnaly</strong></p><p><strong>You are set to use Semantic-UI.</strong></p><p><strong>Examples.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EjALI9PKkXeYlQe1HdPkcw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/403/1*qsSZ7JxCZU_j3pNpZVUMHw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3f42af37a09f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>