dongsan6889 2016-12-26 08:02
浏览 524

Laravel app.js和app.css为什么需要使用? 我们可以删除那些吗?

I am new learner on Laravel.

I am using Laravel 5.3.But I want Use Bootstrap css and Js. But Laravel have default app.css and app.js. Hare app.css actually Bootstrap CSS and also app.js work like Bootstarp js. But can i delete app.js and app.css and can i use custom version Bootstrap CSS & JS ?

So I need to know why we will be use this two files ?

  • 写回答

2条回答

  • 普通网友 2016-12-26 08:36
    关注

    You can delete them, read the following lines:

    CSS

    Laravel Elixir provides a clean, expressive API over compiling SASS or Less, which are extensions of plain CSS that add variables, mixins, and other powerful features that make working with CSS much 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 does not require you to use a specific JavaScript framework or library to build your applications. In fact, you don't have to use JavaScript at all. However, Laravel does include some basic scaffolding to make it easier to get started writing modern JavaScript using the Vue library. Vue provides an expressive API for building robust JavaScript applications using components.

    Complete Reference

    评论

报告相同问题?

悬赏问题

  • ¥15 运筹学排序问题中的在线排序
  • ¥15 关于docker部署flink集成hadoop的yarn,请教个问题 flink启动yarn-session.sh连不上hadoop,这个整了好几天一直不行,求帮忙看一下怎么解决
  • ¥30 求一段fortran代码用IVF编译运行的结果
  • ¥15 深度学习根据CNN网络模型,搭建BP模型并训练MNIST数据集
  • ¥15 lammps拉伸应力应变曲线分析
  • ¥15 C++ 头文件/宏冲突问题解决
  • ¥15 用comsol模拟大气湍流通过底部加热(温度不同)的腔体
  • ¥50 安卓adb backup备份子用户应用数据失败
  • ¥20 有人能用聚类分析帮我分析一下文本内容嘛
  • ¥15 请问Lammps做复合材料拉伸模拟,应力应变曲线问题