From 3435b62da5be6383cfafb269952dc8bf2b8b571c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Sat, 24 Feb 2018 00:14:32 +0100 Subject: [PATCH] Scss decoumentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- developer_manual/app/css.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/developer_manual/app/css.rst b/developer_manual/app/css.rst index 3dcaafbe0..098429a92 100644 --- a/developer_manual/app/css.rst +++ b/developer_manual/app/css.rst @@ -18,6 +18,12 @@ The CSS files reside in the **css/** folder and should be included in the templa // include vendor file (also allows array syntax) vendor_style('myapp', 'style'); // adds vendor/style.css +.. note:: Since the version 12 of Nextcloud, we support ``SCSS`` natively. + You can migrate your files by simply renaming your ``.css`` files to ``.scss``. + The server will automatically compile, cache and and serve it. + The priority goes to the scss file. So having two file with the same name and a ``scss`` & ``css`` extension + will ensure a retro compatibility with <12 versions as scss files will be ignored by the server. + Web Components go into the **component/** folder and can be imported like this: .. code-block:: php