ipublikuj-archive / assets-loader Goto Github PK
View Code? Open in Web Editor NEWExtension for loading static CSS and JS files for Nette Framework
License: Other
Extension for loading static CSS and JS files for Nette Framework
License: Other
does it depends on other class or command line tool?
File: ...\src\IPub\AssetsLoader\Filters\Files\LessFilter.php:70
60:
61: /**
62: * Get less compiler
63: *
64: * @return \lessc
65: */
66: protected function getLessC()
67: {
68: // Lazy loading
69: if (!$this->lc) {
70: $this->lc = new \lessc();
71: }
72:
73: return $this->lc;
74: }
Hi,
is shortening paths really required in https://github.com/iPublikuj/assets-loader/blob/master/src/IPub/AssetsLoader/Diagnostics/Panel.php#L81?
It won't even work properly when defining in bootstrap.php like this:
define('WWW_DIR', __DIR__ . '/../');
A suggestion in config.neon when
assetsLoader:
routes: null
the extension wouldn't then be prepending routes to router. I am asking because I want to serve the files via https.
My current workaround is very hacky / ugly:
assetsLoader:
routes:
assets: http://
files: http://
The routes won't ever match. Then I append custom route in RouterFactory.
Should I prepare a pull or you want to keep current behavior?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.