This has been deployed using Surge
npm install --global surge
After that, just navigate to any directory and run 'surge' Then it will prompt you to set up an account (which I did)
- Setup domain hosting to redirect to the surge instance by putting in '@ record' and 'www record' pointing to "na-west1.surge.sh"
- Then run:
surge path/to/my-project aidenshomework.com
- Save the custom domain by running:
echo aidenshomework.com > CNAME
- Update .gitignore to ignore the CNAME file and confirm the /dist is in the .gitignore too
- Go to root directory and open up Hyper terminal
- First run:
npm run build
- Then go to the /dist directory and open up a terminal and run
surge
Everything is already set up and saved.
npm install
npm run serve
npm run build
npm run test
npm run lint