Comments (9)
You could add the listener as an App customisation - or provide it in your own extension. Imho it should not be added to this extension.
from contao-component-style-manager.
The SCSS "cache" isn't really related to this extension?
from contao-component-style-manager.
Yes I know, but there is no other extension that provides this. Or is there?
from contao-component-style-manager.
Ok, thank you very much. Don't know how to do it, but maybe come back to it later.
from contao-component-style-manager.
@Aybee
The Style-Manager is used to set up classes or template-variables.
It does not affect any caching nor the SCSS files.
I do not think this feature has anything to do with the Style Manager.
What you might be looking for is following bundle of ours as it will compile your scss files into a css file, hence completely bypassing a cache as you won't need contao to process it anymore -> You just generate the .css file and embed it into your layout.
https://github.com/oveleon/contao-theme-compiler-bundle
from contao-component-style-manager.
Ok, worth a try. Thank you.
I think the theme compiler is not what I need. I edit SCSS files directly on the server and would then like to be able to see the CSS result directly in the FE.
Contao already compiles SCSS files very well, but not when I edit the files with my editor on the server.
I will then first of all install both extensions, component-style-manager and theme-toolbox. Unfortunately, erdmannfreunde don't want to include the options for news etc. in its extension.
from contao-component-style-manager.
Mind that the theme compiler uses the same technique (scssphp) + having ready to ship out CSS files in your layout means less stress for your server.
I usually just change my files and upload them and compile via ssh when I'm done for a few of our projects.
The common practice nowadays (it's still personal preference for most people) is compiling locally, especially since libraries like scssphp still don't support dartsass with use and forward.
Just because it's supported, doesn't mean it's good practice when a feature like disabling the scss cache is needed if you know what I mean.
from contao-component-style-manager.
It's only for developement, not for going live. You can switch it on and off with theme-toolbox.
from contao-component-style-manager.
Closed as stale and invalid
from contao-component-style-manager.
Related Issues (20)
- Contao 4.9.2 kompatibilität HOT 2
- Add base class per category HOT 2
- Config does not work if cssId field is hidden HOT 4
- Default value for CSS class HOT 4
- Description for style group HOT 2
- compatibility with Contao 4.12.4 HOT 9
- Attempt to assign property "styleManager" on null HOT 6
- Contao 4.13 RC2 and Stylemanager HOT 5
- Standardscope in Kategorien einstellen HOT 8
- Unable to create <optgroup> with current code HOT 3
- error in CE using v3.0.0 HOT 4
- Unbuffered queries in ObjectConversionMigration HOT 3
- Klassenauswahl Einträge doppelt / unvollständig HOT 1
- Migration message keeps appearing HOT 7
- Error opening content element HOT 3
- Bootstrap template HOT 3
- Problem updating database after uninstalling extension HOT 7
- StyleManager Widget does not keep state on Contao 5.2
- Controller / Route Problem HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from contao-component-style-manager.