[DEPRECATED] We moved to the new organization: wevisdemo/reconstitution
Thailand's Constitution, explained
- Staging: https://electinth.github.io/constitution/
- Production: https://recon.elect.in.th/
.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>
# 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.