Skip to content
A Vue/TypeScript frontend for https://www.theurlist.com
Vue TypeScript CSS HTML JavaScript Dockerfile
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode adding launch and prettier settings Jun 11, 2019
docs add missing readme image Jun 11, 2019
public Add a meta tag for description Jul 26, 2019
src Fixes overlowing links on published pages Jul 28, 2019
tests
.browserslistrc Add login icon / fix bulma import May 31, 2019
.env.development Add development env file back Jun 14, 2019
.env.production Add production .env file Jun 14, 2019
.eslintrc.js add missing eslint config Jun 11, 2019
.gitignore Update .gitignore Jun 14, 2019
Dockerfile
README.md Added Azure Pipelines badge Jun 13, 2019
babel.config.js initial commit May 24, 2019
nginx.conf initial commit May 24, 2019
package-lock.json Fix formatting errors and set default formatters to Prettier Jun 11, 2019
package.json Fix formatting errors and set default formatters to Prettier Jun 11, 2019
postcss.config.js initial commit May 24, 2019
tsconfig.json initial commit May 24, 2019
vue.config.js Include Bulma to provide access to variables in components Jun 7, 2019

README.md

The Urlist - Frontend

Build status

The frontend for this project was build with the following libraries and frameworks:

Other useful tools

Build and run the frontend locally

Install Vue CLI globally

npm install -g @vue/cli

Install npm packages for frontend project

npm install

Serve development build

npm run serve

localhost serve

Create production build

npm run build

This creates a dist folder under frontend

Lints and fixes files

npm run lint

Running locally vs running on Azure

The code is optimised to be run in a local environment. If either the frontend or backend are run on Azure, there is one line of code that needs to be changed: In \frontend\src\services\api.service.ts change line 19 from

axios.defaults.withCredentials = false;

to

axios.defaults.withCredentials = true;

This should keep you out of CORS troubles

You can’t perform that action at this time.