Skip to content

ProcessVue is a boilerplate for getting started with ProcessWire as a headless CMS for VueJS SPAs

Notifications You must be signed in to change notification settings

microcipcip/processvue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

ProcessWire Site Profile for Vue 2.0

ProcessVue is a boilerplate for getting started with ProcessWire 3.0 as a headless CMS for Vue 2.0 SPAs.

Features:

  • REST API
    • Fetch title fields
    • Fetch textearea fields
    • Fetch image/gallery fields (included resizing)
    • Fetch repeater fields
    • Fetch children pages
  • Vue Webpack boilerplate
  • Vue Router
  • Vue Meta (to update metatags)
  • Vuex (store management)

To Install site profile

Grab a copy of the latest ProcessWire. Copy or upload the /site-processvue/ directory and everything in it to the root of your ProcessWire files. This is the same directory that ProcessWire's index.php and /site-default/ directories live. So you'll have a /site-processvue/ alongside ProcessWire's /site-default/ and any other profiles it comes with.

Load the URL to your ProcessWire installation in your browser to initiate the installer. Select the "ProcessVue" profile from the dropdown when prompted to do so. The installer will take care of the rest.

To Install npm packages

  1. Update site/templates/client/config/index.js proxyTable with your domain name
  2. Install npm packages from site/templates/client by running npm i
  3. Run webpack dev server by running npm run dev, or compile all assets with npm run build

Note

If your website is in localhost (for example http://localhost/processvue) and not in a virtual server (i.e. http://processvue.localdev), with the command npm run build the website may not be visible because the js files point to the wrong path, so you may need a proper virtual server to browse the site correctly. However, the npm run dev command should work fine without setting up a virtual server.

Support

Check this ProcessWire forum thread for further details about how this site profile works.

About

ProcessVue is a boilerplate for getting started with ProcessWire as a headless CMS for VueJS SPAs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published