Skip to content

💧A Web-based project management tool for small agile porfolio and large organizations alike. Handle all your projects in one place - from top to bottom.

Notifications You must be signed in to change notification settings

shijiezhou1/vue-portfolio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vue LOGO

vue-portfolio

https://shijiezhou1.github.io/vue-portfolio/#/

Project setup

npm install

if the package broken, remove package-lock.json

rm -rf node_module 
npm install
npm audit fix

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run your tests

npm run test

Lints and fixes files

npm run lint

Run your unit tests

npm run test:unit

Customize configuration

See Configuration Reference.

vue-live (user Guide)

1. Deploy project to your github

npm install --save-dev vue-gh-pages

https://www.npmjs.com/package/vue-gh-pages

2. Add the following to the script section of your package.json:

"deploy": "node ./node_modules/vue-gh-pages/index.js -p"

3. Add homepage field to your package.json file:

"homepage": "https://github.com/myusername/my-app"

4. Now when you're ready to push to github, run:

npm run deploy

5. Update direction

touch vue.config.js

echo all contents to => vue.config.js

module.exports = {
    baseUrl: "./",
    pages: {
      index: {
        // entry for the page
        entry: 'src/main.js',
        // the source template
        template: 'public/index.html',
        // output as dist/index.html
        filename: 'index.html',
        // when using title option,
        // template title tag needs to be <title><%= htmlWebpackPlugin.options.title %></title>
        title: 'Index Page',
        // chunks to include on this page, by default includes
        // extracted common chunks and vendor chunks.
        chunks: ['chunk-vendors', 'chunk-common', 'index']
      },
      // when using the entry-only string format,
      // template is inferred to be `public/subpage.html`
      // and falls back to `public/index.html` if not found.
      // Output filename is inferred to be `subpage.html`.
      // subpage: 'src/subpage/main.js'
    }
};

Vue mongodb LOGO

MongoDB Setup

npm install mongodb

var mongo = require('mongodb');

Vue bootstrap LOGO

Style

npm i bootstrap-vue
# With Yarn:
yarn add bootstrap-vue

Add to src/main.js

import Vue from 'vue'
import BootstrapVue from 'bootstrap-vue'

Vue.use(BootstrapVue);

import 'bootstrap/dist/css/bootstrap.css'
import 'bootstrap-vue/dist/bootstrap-vue.css'

Localize Setup

on your env file, set up english as default, otherwise fallback to the zh;

VUE_APP_I18N_LOCALE=zh
VUE_APP_I18N_FALLBACK_LOCALE=en

REFRESH ISSUE in Deployment

when you set the mode to history, gh-page won't get the correct path.

mode: 'history', // REMOVE IF YOU WANT TO DEPLOY IN GITHUB
base: '/vue-portfolio/'

icons

How to Install and Use

npm i --save @fortawesome/fontawesome-svg-core \
npm i --save @fortawesome/free-solid-svg-icons \
npm i --save @fortawesome/free-brands-svg-icons \
npm i --save @fortawesome/vue-fontawesome \

About

💧A Web-based project management tool for small agile porfolio and large organizations alike. Handle all your projects in one place - from top to bottom.

Resources

Stars

Watchers

Forks

Packages

No packages published