VueJS Frontend WebApp for https://github.com/collective/collective.ploneboard.
Tested with Plone 5.2.1 & plone.restapi 6.1.0
- Install https://github.com/collective/collective.ploneboard
- Enable addons:
- collective.ploneboard
- plone.restapi
- Create new Message Board in your Plone site
- Do not forget to set permissions accordingly: The WebApp will assume that every authenticated user is allowed to create Conversations and Comments
- Create a Folder containing Pages with following short names (are loaded from within the WebApp as static pages) & publish those contents:
404
: Your 404 messagefooter
: Footer contentlogin
: Text displayed above login formwelcome
: Content of the welcome page
- Clone this repository
- Edit
utils/constants.js
:BASE_URL
: Base url of your Plone siteMESSAGE_BOARD_ID
: Id (short name) of the Message Board you createdSTATIC_PAGES_PATH
: Id (short name) of the folder containing your static pages
- Edit
vue.config.js
:LANGUAGE_CODE
:en
orde
PAGE_TITLE
: Title of the pagePRODUCTION_URL
: URL where the VueJS application (seepublic/index.html
) is reachable
- In
src/assets/
edit:custom-vars.scss
to customize the used Bootstrap themelogo.png
andfavicon.ico
- Run
npm run build
(or./rebuild.sh
)- Compiled WebApp can then be accessed via:
public/index.html
- Compiled WebApp can then be accessed via:
npm install
npm run serve
npm run build