Skip to content

chingu-voyage6/Geckos-Team-32

Repository files navigation

Geckos-Team-32

Add-project-description-here | Chingu Voyage-6 | https://chingu.io/

Live demo

A Vue.js project

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

Path aliases

  • @ - alias for src folder
  • * - alias for src/components/pages/ folder
  • + - alias for src/components/common/ folder

how to use alias?

insteaad of full path like this:

import MainPage from 'src/components/pages/main/index';

used it alias:

import MainPage from '*/main/index';

how to add alias?

Alliases are defined in file build/webpack.base.conf.js. just search alias keyworld

deploy to github-pages

For deploy purposes was added vue-cli-ghpages module as dev depencency, so install it once by runing:

npm i

To build and deploy project run the command:

npm run deploy

For a detailed explanation on how things work, check out the guide and docs for vue-loader.