Important
This repo is for the older Presentator v2 and it is no longer maintained.
Presentator SPA is a frontend interface for the Presentator v2 REST API. It is built with Vue.js and Webpack.
This repository is READ-ONLY. Report issues and send pull requests in the main Presentator repository.
The prebuilt package located in
dist/
is meant to be used with presentator/starter. If you want to customize the default configurations and build your own version of the application, please follow the steps below.
-
Download or clone the project repo.
-
Create a new
.env.local
file in the project root directory. Copy and edit the configuration settings from.env
to suit your environment setup. -
Run the appropriate console commands:
# installs dependencies
npm install
# starts a dev server with hot reload at localhost:8080
npm run serve
# generates i18n-report.json file with info about the current i18n app state
npm run i18n:report
# generates production ready bundle in dist/ directory
npm run build
Built files are meant to be served over an HTTP server. Opening index.html over file:// won't work.