I like the ideas here! Plugins seem very powerful.
I read through the docs but I don't see anything that mentions how to start with a framework like React. Only static pages for various template engines, under the src/pages folder.
Two topics I'd be interested to see covered in the docs are:
how to set up a static site using ReactJS (or VueJS, etc)
how to build with dynamic content (eg. a service like Contentful)
I like the ideas here! Plugins seem very powerful.
I read through the docs but I don't see anything that mentions how to start with a framework like React. Only static pages for various template engines, under the src/pages folder.
Two topics I'd be interested to see covered in the docs are:
Thanks.
Please, take a look at the following blog post about Vue.JS plugin:
cogearjs.org/blog/2018/09/vue-plugin/
How to build dynamic content?
Use VueRouter for routing and axios for fetching data from external API.
Using Vue.JS plugin example it's easy to write similar one for React.JS.
Plugin just extends Webpack config
Look at plugin main file (only 31 lines w/brackets):
github.com/codemotion/cogear-plugi...
Cool, thanks!
Just to be clear, there is no support or plugins for importing content from a 3rd party service like Contentful, correct?
You're welcome!
Right now there is a Vue-plugin.
You can import axios in the entry point script and use any API that you'd want.
With VueRouter it gives great possibilities.
I'm planning to release a video tutorial about plugins today.
Advise you to subscribe to our YouTube channel not to miss newer tutorials.
I think it's a good topic about Contentful. Will try to make a video on that.
I've also planned to write a plugin for importing from Wordpress.