Foundation sites 6.5.x with angular 7.x

foundation zurb angular

Step 1:

Create a new angular app by following command.

ng new my-foundation-app

Step 2:

change directory to new created app folder.

cd my-foundation-app

Step 3:

Install foundation modules.

npm install foundation-sites --save

check your project directory. under node_modulesĀ there will be another folder named “foundations-sites” will be created.

Step 4:

Open src/style.scss file and add following code.

@import "../node_modules/foundation-sites/assets/foundation";

Step 5:

ng serve

Leave a Reply

Your email address will not be published. Required fields are marked *

*