CommentFileSizeAuthor
#2 rest_example-2828882-2.patch46.96 KBchi

Issue fork examples-2828882

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Chi created an issue. See original summary.

chi’s picture

Status: Active » Needs review
StatusFileSize
new46.96 KB

I've created a simple REST application using Vue.js v2 as frontend framework and Drupal REST API as backend. A resource plugin was generated with Drupal Code Generator and exposes REST access to a single database table. The purpose of the application is providing an example of progressive decoupling of Drupal 8.

tlyngej’s picture

As https://www.drupal.org/node/1883784 and this is in the same ballpark, any chance they could get into the same module?

tlyngej’s picture

As https://www.drupal.org/node/1883784 and this are in the same ballpark, would it be an idea to put them in the same module?

chi’s picture

That example is absolutely different though.

andypost’s picture

jungle’s picture

Version: 8.x-1.x-dev » 3.x-dev

Thanks @Chi, it's a great example!

The default branch is 3.x-dev now, which is Drupal 9 compatible

How about renaming this to vuejs_example to distinguish with #1883784: New examples for REST API in D8?

valthebald’s picture

Moving to new examples meta

jungle’s picture

Title: Add REST application example » Add Vue.JS example

The patch in #2 is a Vue.js example with Drupal, so changing the title to inline with it. And #1883784: New examples for REST API in D8 is a REST example landed already.

jungle’s picture

Title: Add Vue.JS example » Add Vue.js example
jungle’s picture

Version: 3.x-dev » 4.0.x-dev
Status: Needs review » Needs work

The patch was made with VueJS 2.x, let's port it to VueJS 3.x, and this example will be landed in 4.0.x.

jungle’s picture

Assigned: Unassigned » jungle

Work on it.

avpaderno’s picture

Component: Other » New modules
Assigned: jungle » Unassigned