Carabiner does not work – Library Codeigniter

综合编程 2018-12-07 阅读原文

I'm having trouble getting Carabiner to work...

There aren't any errors--my files just aren't working.

I haven't changed the config.

In my function I have:

$this->load->library('carabiner');
    $this->carabiner->display();

This should output all the css and js in my asstes folder, right?

I've tried moving the assets folder around too. Right now it's in /application/assets

Am I getting something wrong?!

Looks like you also need to grab the js and css using the carabiner object:

// add a js file
$this->carabiner->js('scripts.js');

// add a css file
$this->carabiner->css('reset.css');

// add a css file with a mediatype
$this->carabiner->css('admin/print.css','print');

see http://codeigniter.com/wiki/Carabiner/

Hello, buddy!

责编内容by:Hello, buddy!阅读原文】。感谢您的支持!

您可能感兴趣的

前端开发 —— 使用进阶:通过 Laravel Mix 编译前端资源... 简介 Laravel Mix 提供了一套流式 API,使用一些通用的 CSS 和 JavaScript 预处理器为 Laravel 应用定义 Webpack 构建步骤。通过简单的方法链,你可以流式定义资源管道。例如: ...
Having an issue with inline UL sizing/positioning ok, so developing a site for one of my friend's church using wordpress and I've run into a snag. I dont normally...
Frontend Weekly Digest #74 (3–16 September 2018) Frontend Weekly Digest #74 (3–16 September 2018) Web-Devel...
翻译 | CSS网格(CSS Grid)布局入门 原文地址: Getting to know CSS Grid Layout 原文作者: Chris Wright 译者: 华翔 校对者: 珂珂 、 干干 翻译 | CSS网...
CSS background url from base64 img on mobile I'm using to set background gradient via base64 img as shown: background: url(data:image/svg+xml;base64,PD94...