Static Website, designed by Laura in Nov 2020 Developed by Dani Pühringer in Nov 2020 - Jan 2021
- Simply upload them to the server and push changes into git
- Run build pipeline -->
npm run build
#Setup for frontend build pipeline
- Check if you have node & npm installed (run 'node -v' or sth similar)
- Run
npm install
, never add package-lock.json into git. - Develop in the /src folder, except js files(change them in /dist/js ) --> this is because of performance!
- For building files run
npm run build
- Upload files from /dist folder to server
- TailwindCSS is used as the CSS Library, watch those videos: https://www.youtube.com/tailwindlabs
- Also check out: https://tailwindcss.com/docs/utility-first
- Example instructions for margin-classes: https://tailwindcss.com/docs/margin
#FTP-Info:
- root-folder auf server: "/relaunch-static"