Laravel app.js and app.css why should I use? Can we remove them?

I am a new student at Laravel.

I am using Laravel 5.3 . But I want to use Bootstrap css and Js . strong>. But Laravel has default values app.cssand app.js. Hare app.cssactually Bootstrap CSS , and also app.jswork like Bootstarp js . But can I remove app.jsand app.cssand can I use my own version of Bootstrap CSS and JS ?

So, I need to know why we will use these two files?

+4
source share
2 answers

You can delete them by reading the following lines:

CSS

Laravel Elixir provides a clean, expressive API for compiling SASS or Less, which are extensions of simple CSS that add variables, mixins, and other powerful features that make working with CSS more enjoyable.

In this document, we will briefly discuss CSS compilation in general; however, you should consult the full Laravel Elixir documentation for more information on compiling SASS or Less.

Javascript

Laravel , JavaScript . , JavaScript . , Laravel , JavaScript Vue. Vue API JavaScript .

+1

Laravel default CSS JS .

, , , .

  • Laravel

, Laravel Elixer app.css app.js , javascript.

https://laravel.com/docs/5.3/elixir

https://laravel.com/docs/5.3/frontend

0

Source: https://habr.com/ru/post/1664889/


All Articles