> For the complete documentation index, see [llms.txt](https://liseen315.gitbook.io/laravel/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://liseen315.gitbook.io/laravel/qian-duan-zu-jian.md).

# 前端组件

Laravel重要是一个PHP框架,但是它也有一系列专注生成前端代码的组件，比如分页和消息包，和一些前端的PHP辅助程序，同时Laravel也提供了基于webpack的构建系统,它称之为Mix和一些围绕非PHP的资源

> Laravel 5.4前后的构建工具
>
> Laravel 5.4之前的版本,前端构建工具叫做Elixer是基于Gulp的,5.4以后，新的构建工具叫做Mix它是基于Webpack

Mix是非PHP前端组件的核心，我们先介绍它


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://liseen315.gitbook.io/laravel/qian-duan-zu-jian.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
