mirror of
https://github.com/nextcloud/documentation.git
synced 2025-10-26 11:18:02 +00:00
parent
057939fddb
commit
06dda72e06
@ -14,7 +14,10 @@ The CSS files reside in the **css/** folder and should be included in the templa
|
||||
|
||||
// include multiple files for the same app
|
||||
style('myapp', array('style', 'navigation')); // adds js/style.css, js/navigation.css
|
||||
|
||||
|
||||
// include vendor file (also allows vendor syntax)
|
||||
vendorStyle('myapp', 'style'); // adds vendor/style.css
|
||||
|
||||
Web Components go into the **component/** folder and can be imported like this:
|
||||
|
||||
.. code-block:: php
|
||||
|
||||
@ -15,6 +15,9 @@ The JavaScript files reside in the **js/** folder and should be included in the
|
||||
// add multiple files in the same app
|
||||
script('myapp', array('script', 'navigation')); // adds js/script.js js/navigation.js
|
||||
|
||||
// add vendor files (also allows the array syntax)
|
||||
vendorScript('myapp', 'script'); // adds vendor/script.js
|
||||
|
||||
The recommended JavaScript framework to use is `AngularJS <https://angularjs.org/#>`_. A nice tutorial screencast collection can be found on `Egghead.io <https://egghead.io/technologies/angularjs>`_
|
||||
|
||||
Sending the CSRF token
|
||||
|
||||
Loading…
Reference in New Issue
Block a user