Tutorial app which is built in the tutorial
Перейти к файлу
nextcloud-command b6cffaa612 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-02-16 04:45:05 +00:00
.github fix(ci): Update workflows from nextcloud template repository 2023-01-13 13:45:12 +01:00
appinfo fix: Set minimum nextcloud version to 25 as required by `@nextcloud/vue` 2023-01-13 15:27:53 +01:00
css Update stylelint version 2020-04-22 08:31:03 +02:00
img replace icon 2017-07-30 11:23:07 +02:00
js Compile assets 2023-02-16 04:45:05 +00:00
lib fix(lint): Fix php-cs-fixer issues detected 2023-01-16 20:39:58 +01:00
src fix: Add missing training comma 2023-02-15 23:05:58 +01:00
templates Fix wrong tutorial location 2020-08-24 14:24:26 +02:00
tests fix(lint): Fix code style issues by using `composer run cs:fix` 2023-01-13 13:25:45 +01:00
.eslintrc.js Fix deprecations 2020-07-27 10:23:10 +02:00
.gitattributes Add bundles to have a working app after checkout 2019-08-17 18:51:50 +02:00
.gitignore chore(deps): Update nextcloud/coding-standard to version 1.0.0 2023-01-13 13:24:13 +01:00
.php-cs-fixer.dist.php chore(deps): Update nextcloud/coding-standard to version 1.0.0 2023-01-13 13:24:13 +01:00
CHANGELOG.md update files 2017-07-30 11:28:19 +02:00
COPYING first commit 2015-01-10 00:25:43 +01:00
Makefile Add HMR commands 2021-07-28 13:59:20 +02:00
README.md fix(docs): Make clear that the app directory has to be named like the app id 2023-01-13 14:37:08 +01:00
babel.config.js Update babel config 2021-07-07 10:05:11 +02:00
composer.json fix: Update phpunit dependency to allow composer to install non abandoned package versions 2023-01-16 20:39:54 +01:00
composer.lock fix: Update phpunit dependency to allow composer to install non abandoned package versions 2023-01-16 20:39:54 +01:00
package-lock.json chore(deps-dev): Bump @nextcloud/eslint-config from 8.2.0 to 8.2.1 2023-02-04 02:00:31 +00:00
package.json chore(deps-dev): Bump @nextcloud/eslint-config from 8.2.0 to 8.2.1 2023-02-04 02:00:31 +00:00
stylelint.config.js Bump deps and use npm7 2021-06-11 11:52:22 +02:00
webpack.config.js rename webpack.js to webpack.config.js 2022-01-02 16:01:37 +01:00

README.md

Nextcloud App Tutorial

PHPUnit GitHub Action Node GitHub Action Lint GitHub Action

This is the tutorial app which shows how to develop a very simple notes app.

Try it

To install it change into your Nextcloud's apps directory:

cd nextcloud/apps

Then clone this repository into a folder named notestutorial¹:

git clone https://github.com/nextcloud/app-tutorial.git notestutorial

Then install the dependencies using:

make composer

¹ It is important that the directory is named exactly like the app ID (see appinfo/info.xml).

Frontend development

The app tutorial also shows the very basic implementation of an app frontend using Vue.js. To build the frontend code after doing changes to its source in src/ requires to have Node and npm installed.

  • 👩‍💻 Run make dev-setup to install the frontend dependencies
  • 🏗 To build the Javascript whenever you make changes, run make build-js

To continuously run the build when editing source files you can make use of the make watch-js command.