Welcome Guest, Not a member yet? Register   Sign In
CI4 RC3 - How to access css file in vendor directory
#4

basic idea is to glue together all css or js dependencies in a single css / js file and copy that to public directory

WEBPACK module bundler or any other compressor tool can do this but you have to use node or other cli tools to do this ...
and the bundler will generate final files to the public/ folder

this can be automated to run on each change of your style.css or script files, and will generate latest bundle all the time which is done with file watcher tools
Reply


Messages In This Thread
RE: CI4 RC3 - How to access css file in vendor directory - by loopzzz - 11-15-2019, 12:18 AM



Theme © iAndrew 2016 - Forum software by © MyBB