Support the ongoing development of Laravel.io →
Configuration
Last updated 1 year ago.
0

Yes, you can. I don't use gulp.

composer.json does not have gulp as a dependency. So, technically, it is not a dependency for laravel 5.1.

If I'm not mistaken, it is only added to make elixir easier to use which makes minifying css and js easier.

Here is what I'm doing in my main default template.

<head>

	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1">

	<meta name="author" content="{{ Config::get('core.author') }}" />
	<meta name="keywords" content="{{ Config::get('core.keywords') }}" />
	<meta name="description" content="{{ Config::get('core.description') }}" />

	<title>
		@section('title')
			{{ Config::get('core.title') }}
		@show
	</title>

	<link rel="shortcut icon" href="{{ asset('ico/favicon.png') }}">
	<link rel="icon" href="{{ asset('favicon.ico') }}">
	<link rel="apple-touch-icon-precomposed" sizes="57x57" href="{{ asset('ico/apple-touch-icon-57-precomposed.png') }}">
	<link rel="apple-touch-icon-precomposed" sizes="72x72" href="{{ asset('ico/apple-touch-icon-72-precomposed.png') }}">
	<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ asset('ico/apple-touch-icon-144-precomposed.png') }}">

<!-- ------------------------------------------ Google Fonts ------------------------------------------ -->
<!--
	<link href='http://fonts.googleapis.com/css?family=Roboto+Slab:400,700,300' rel='stylesheet' type='text/css'>
	<link href='http://fonts.googleapis.com/css?family=Open+Sans:300,400,700' rel='stylesheet' type='text/css'>
-->

<!-- ------------------------------------------ CSS stylesheets ------------------------------------------ -->

	<link rel="stylesheet" type="text/css" href="{{ asset('assets/vendors/bootstrap-3.3.5-dist/css/bootstrap.min.css') }}">
	<link rel="stylesheet" type="text/css" href="{{ asset('assets/vendors/font-awesome-4.3.0/css/font-awesome.css') }}">

<!--
	<link rel="stylesheet" type="text/css" href="{{ asset('assets/vendors/bootstrap-3.3.5-dist/css/bootstrap-theme.min.css') }}">
-->

	<link rel="stylesheet" type="text/css" href="{{ asset('assets/vendors/illuminate3/css/standard.css') }}">
	<link rel="stylesheet" type="text/css" href="{{ asset('assets/css/main.css') }}">

<!-- ------------------------------------------ app loaded CSS stylesheets ------------------------------------------ -->
	@yield('styles')

<!-- ------------------------------------------ head loaded js ------------------------------------------ -->
	<script type="text/javascript" src="{{ asset('assets/vendors/jquery/modernizr-2.6.2-respond-1.1.0.min.js') }}"></script>

</head>
0

lperry65 said: is it possible to have Laravel without it trying to influence my front end preferences.

the node/gulp module for laravel called elixir has some out of the box tasks such and compiling less and minifying js/css so it's like rewriting some thing that's there already.

if you dont want to use gulp on your dev you can just skip that part and copy all your js/css to the public folder.

i personally use a hybrid of both. http://codebreez.com/using-twitter-bootstrap-with-laravel-elix...

0

Sign in to participate in this thread!

Eventy

Your banner here too?

lperry65 lperry65 Joined 20 Jul 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.