Is a "theme extension" necessary, when only used via JSONAPI and Vue?
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Is a "theme extension" necessary, when only used via JSONAPI and Vue?
Hi,
this is a rather general question: If I decide to use TYPO3 in a "headless" manner and connect to it only via JSONAPI, is there any scenario, where I actually need what I think is called a theme extension?
The site is very simple: only 1 user, who sells his music scores. A customer management will be necessary, but I think that does not require a theme extension, right? Or am I missing out on something?
this is a rather general question: If I decide to use TYPO3 in a "headless" manner and connect to it only via JSONAPI, is there any scenario, where I actually need what I think is called a theme extension?
The site is very simple: only 1 user, who sells his music scores. A customer management will be necessary, but I think that does not require a theme extension, right? Or am I missing out on something?
Re: Is a "theme extension" necessary, when only used via JSONAPI and Vue?
No, you don't need any Aimeos theme extension if you build your own PWA.
The theme extensions are only for HTML based frontends.
The theme extensions are only for HTML based frontends.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Is a "theme extension" necessary, when only used via JSONAPI and Vue?
Thank you very much for your answer! And please apologize for my late response!
A follow-up question: How can I use TYPO3's headless extension alongside Aimeos' json features? It seems that headless predominates the RestAPI calls, when the template is included in the Start page. So I changed my page tree to this structure:
START <-- includes only "page = PAGE" and "page.typeNum = 0"
Content <-- includes headless typoscript
[pages]
Shop <-- includes aimeos typoscript
[shop pages]
jsonapi
The call to Aimeos' `jsonapi` should be
curl -X OPTIONS 'https://jvds.ddev.site/jsonapi'
But that only returns
curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to jvds.ddev.site:443
What am I doing wrong?
TYPO3 11.5, ddev, php 8.1
A follow-up question: How can I use TYPO3's headless extension alongside Aimeos' json features? It seems that headless predominates the RestAPI calls, when the template is included in the Start page. So I changed my page tree to this structure:
START <-- includes only "page = PAGE" and "page.typeNum = 0"
Content <-- includes headless typoscript
[pages]
Shop <-- includes aimeos typoscript
[shop pages]
jsonapi
The call to Aimeos' `jsonapi` should be
curl -X OPTIONS 'https://jvds.ddev.site/jsonapi'
But that only returns
curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to jvds.ddev.site:443
What am I doing wrong?
TYPO3 11.5, ddev, php 8.1
Re: Is a "theme extension" necessary, when only used via JSONAPI and Vue?
Guess, your DDEV setup doesn't support HTTPS. Did you try HTTP instead?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Is a "theme extension" necessary, when only used via JSONAPI and Vue?
The headless ext returns valid data... Working with "normal" typo3 fe works fine, too.
"curl" calling only http returns a "not found"
log-in on a ddev TYPO3 without https does not work (login does not redirect; manually calling /typo3 redirects to https, even though there is a separate domain with http...)
Also tried colima, but there the same problem occurs...
"curl" calling only http returns a "not found"
log-in on a ddev TYPO3 without https does not work (login does not redirect; manually calling /typo3 redirects to https, even though there is a separate domain with http...)
Also tried colima, but there the same problem occurs...