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