Skip to main content

Posts

Showing posts from July, 2017

Using Foundation 6 with Laravel 5

Laravel comes ready with Twitter bootstrap and Vue.js to get started with our project. But what if we want to use Zurb Foundation? I am assuming we already know the traditional way of referencing and using foundation via CDN or downloading and referencing it locally. But this tutorial is for those who want to use the power of SCSS in foundation inside Laravel. As of this writing I am using Laravel 5.4 and Foundation 6.4.1 on windows 10 with XAMPP. Assuming we have all the necessary installation like php, composer, node.js, npm, git etc., let get started. Let get started and go through it step by step. Step 1: Install a Fresh Copy of Laravel Documentation: https://laravel.com/docs/5.4 $ laravel new foundation_test $ cd foundation_test Open the folder with our favorite editor like Sublime Text , Atom Editor or  Visual Studio Code . If we open package.json file, the initial file looks like this {   "private": true,   "scripts": {     &quo