Vue frontend for the Byggbelastning project.
This one talks to the Byggbelastning API to get the data it displays.
Note: This project is still in development!
Note: There is currently no image on DockerHub
# Clone the repo, then cd into it
git clone https://github.com/vtfk/byggbelastning-frontend
cd byggbelastning-frontend/
# Use the compose-file to build the image and start a container
npm run docker:start #--build # Use the --build option to force-build
# Stop the container
npm run docker:stop
# Read and follow the logs for the created container
docker logs -f byggbelastning-frontend
# Clone the repo, then cd into it
git clone https://github.com/vtfk/byggbelastning-frontend
cd byggbelastning-frontend/
# Install dependencies
npm install
# Rename template.env to .env then edit it
mv template.env .env
# Build the application
npm run build
# Then serve the files in ./dist somehow (for ex. using Nginx or Apache)
npm start
# Clone the repo
git clone https://github.com/vtfk/byggbelastning-frontend
cd byggbelastning-frontend/
# Install dependencies
npm install
# Rename template.env to .env then edit it
mv template.env .env
# Start the app with hot-reload
npm run serve