brocessing / kirby-webpack

:muscle: A Kirby CMS starter-kit with modern frontend tools
MIT License
179 stars 23 forks source link

JSON content representations #45

Closed monobasic closed 6 years ago

monobasic commented 6 years ago

Great work on the starterpack! I noticed, you didn't managed to get JSON content representations working with the dev server either.. any idea whats the problem? I guess it has something to do with dots in urls.. would love to fix this!

pqml commented 6 years ago

Yes, it's unfortunately an issue with dots in urls

The only fix for now is to use a proxy instead of the built-in php server. You can set one from the proxy field in main.config.js

Kirby 3 will integrates a custom router to use with the php built in server: https://github.com/k-next/starterkit/blob/master/kirby/router.php I will try to see if I can implement it with kirby 2 when I have free time

monobasic commented 6 years ago

Great! Thanks :)

pqml commented 6 years ago

0.9.1 Release adds support for content representations