...
Info | |||||
---|---|---|---|---|---|
| |||||
|
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
wget https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css |
The files that need to be replaced are inside the public/components/assets-admin/plugins/[Pluginname] Folder.
...
Pros | Cons |
---|---|
|
|
| |
...
Formating the downloaded File in Sublime3
To work with the files, they almost always need to be reformatted. For Sublime 3 exists a Plug-in to automatically beautify HTML, JS and CSS code.
Link to sublime Plug-in page: https://packagecontrol.io/packages/HTML-CSS-JS%20Prettify
The simplest method of installation is through the Sublime Text console. The console is accessed via the ctrl+` shortcut or the menu. Once open, paste the appropriate Python code into the consol.
Code Block | ||||
---|---|---|---|---|
| ||||
'df21e130d211cfc94d9b0905775a7c0f' + '1e3d39e33b79698005270310898eea76';
pf = 'Package Control.sublime-package'; ipp =
sublime.installed_packages_path(); urllib.request.install_opener(
urllib.request.build_opener( urllib.request.ProxyHandler()) ); by =
urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ',
'%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error
validating download (got %s instead of %s), please try manual install' %
(dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by) |
This code creates the Installed Packages folder for you (if necessary), and then downloads the Package Control.sublime-package into it. The download will be done over HTTP instead of HTTPS due to Python standard library limitations, however the file will be validated using SHA-256.
Now right-click into sublime in the opened file and click on HTML/CSS/JS Prettify -> Prettify code
3 Installation through composer
TO-DO: Check Composer implementation seems also possible and would be easier to maintain and does automatic updates, but was not used by me, because copying the files to the corresponding folders was sufficient for me.
Related articles
Filter by label (Content by label) | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...