Skip to content

electinth/constitution

Repository files navigation

[DEPRECATED] We moved to the new organization: wevisdemo/reconstitution


constitution

Thailand's Constitution, explained

Deployment

Environment

.env file can be used to config Starpi api endpoint. If not specify mock data will be used with msw.

STRAPI_ENDPOINT=<url_to_strapi>
BASE_PATH=<site_path_when_deploy>
SITE_URL=<site_url_when_deploy>
GOOGLE_ANALYTICS_ID=<G-XXXXXXX>

Build Setup

# install dependencies
$ yarn install

# populate data (Docker required)
$ ./populate-data.sh

# serve with hot reload at localhost:3000
$ yarn dev

# generate static project
$ yarn generate

For detailed explanation on how things work, check out Nuxt.js docs.