Laravel 3.2 Documentation.................................................................................... 43 Bundle Assets ................................................................................................ ................................................................................... 52 URLs To Assets ................................................................................................ application/routes.php file. These filters make great places to start common bundles or add global assets. Note: The after filter receives the Response object for the current request. Route Groups0 码力 | 139 页 | 1.13 MB | 1 年前3
CakePHP Cookbook Documentation 5.xModels Plugin Templates Overriding Plugin Templates from Inside Your Application Plugin Assets Linking to Assets in Plugins Components, Helpers and Behaviors Commands Testing your Plugin Publishing your documentation for more information. 4. (Optional) To improve production setup, you should prevent invalid assets from being parsed by CakePHP. Modify your webroot .htaccess to something like:The above will prevent incorrect assets from being sent to index.php and instead display your web server’s 404 page. Additionally you can 0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook 3.x
Models Plugin Templates Overriding Plugin Templates from Inside Your Application Plugin Assets Linking to Assets in Plugins Components, Helpers and Behaviors Commands Testing your Plugin Publishing your object ($this) passed for plugin routing. Shell The cake assets copy command now features an --overwrite option for overwriting plugin assets if they already exist in the application webroot. Utility See the Dispatcher Filters documentation for more information. FilterAssetFilter Plugin & theme assets handled by the AssetFilter are no longer read via include instead they are treated as plain text0 码力 | 1244 页 | 1.05 MB | 1 年前3
Laravel 5.6 中文文档JavaScript 构建 JavaScript 驱动的应用时,为方便起见,可以让 JavaScript HTTP 库自动在每个请求中添加 CSRF 令牌。默认情况下, resources/assets/js/bootstrap.js 文件会将 csrf-token meta 标签值注册到 Axios HTTP 库。如果你没有使用这个库,则需要手动在应用中配 置该实现。 排除指定 URL 声明。通常,编译好的 CSS 文件会存放到 public/css 目录下: npm run dev Laravel 自带的默认 webpack.mix.js 文件会编译 SASS 文件 resources/assets/sass/app.scss,这个 app.scss 文件将会导入一个包含 SASS 变量的文件并加载 Bootstrap,从而助力我们快速在应用中引入 Bootstrap 资源。你也可以按照自己的需要自定义 SASS 和 resources/assets/js/app.js 文件,在 app.js 文件中你可以注册 Vue 组件, 或者如果你倾向于其它 JavaScript 框架,则可以配置你自己的 JavaScript 应用。编译好的 JavaScript 文件通常会存放到 public/js 目录下。 注:app.js 文件会加载 resources/assets/js/bootstrap.js 以便启动和配置0 码力 | 377 页 | 14.56 MB | 1 年前3
CakePHP Cookbook 4.x
Models Plugin Templates Overriding Plugin Templates from Inside Your Application Plugin Assets Linking to Assets in Plugins Components, Helpers and Behaviors Commands Testing your Plugin Publishing your documentation for more information. 4. (Optional) To improve production setup, you should prevent invalid assets from being parsed by CakePHP. Modify your webroot .htaccess to something like:The above will prevent incorrect assets from being sent to index.php and instead display your web server’s 404 page. Additionally you can 0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook Documentation 5.x. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 646 Plugin Assets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . documentation for more information. 4. (Optional) To improve production setup, you should prevent invalid assets from being parsed by CakePHP. Mod- ify your webroot .htaccess to something like:The above will prevent incorrect assets from being sent to index.php and instead display your web server’s 404 page. Additionally you can 0 码力 | 848 页 | 2.53 MB | 1 年前3
CakePHP Cookbook 3.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 767 Plugin Assets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . object ($this) passed for plugin routing. Shell • The cake assets copy command now features an --overwrite option for overwriting plugin assets if they already exist in the application webroot. Utility See the Dispatcher Filters documentation for more information. FilterAssetFilter • Plugin & theme assets handled by the AssetFilter are no longer read via include instead they are treated as plain text0 码力 | 967 页 | 2.80 MB | 1 年前3
Laravel 5.3 中文文档中加载前端资源,所有依赖都被定义在默认的 package.json 文件中。 此外,支持单文件的 Vue 组件现在已经开箱支持, resources/assets/js/components 目录下包含 了一个简单的示例组件 Example.vue ,新的 resources/assets/js/app.js 文件将会启动被配置你 的 JavaScript 库以及 Vue 组件。 这种架构对开始开发现代的、强大的 文件中的声明。通常,编译好的 CSS 文件会被放置到 public/css 目录下: gulp Laravel 自带的默认 gulpfile.js 文件会编译 SASS 文件 resources/assets/sass/app.scss,这个 app.scss 文件将会导入一个包含 SASS 变量的文件并加载 Bootstrap,从而助力我们快速在应用中 引入 Bootstrap 资源,你也可以按照自己的需要自定义 SASS 和 resources/assets/js/app.js 文件, 在 app.js 文件中你可以注册 Vue 组件,或者你倾向于其它 JavaScript 框架,配置你自己的 JavaScript 应用。你所编译的 JavaScript 文件通常会存放在 public/js 目录下。 注:app.js 文件会加载 resources/assets/js/bootstrap.js 以便启动和配置0 码力 | 691 页 | 9.37 MB | 1 年前3
CakePHP Cookbook 2.x
Bootstrapping Using a Plugin How To Create Plugins Plugin Controllers Plugin Models Plugin Views Plugin Assets Components, Helpers and Behaviors Expand Your Plugin Plugin Tips Publish Your Plugin Shells, Tasks documentation for more information. 4. (Optional) To improve production setup, you should prevent invalid assets from being parsed by CakePHP. Modify your webroot .htaccess to something like:The above will simply prevent incorrect assets from being sent to index.php and instead display your webserver’s 404 page. Additionally you can 0 码力 | 1096 页 | 958.62 KB | 1 年前3
CakePHP Cookbook 4.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 748 Plugin Assets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . documentation for more information. 4. (Optional) To improve production setup, you should prevent invalid assets from being parsed by CakePHP. Mod- ify your webroot .htaccess to something like:The above will prevent incorrect assets from being sent to index.php and instead display your web server’s 404 page. Additionally you can 0 码力 | 967 页 | 2.88 MB | 1 年前3
共 18 条
- 1
- 2













