Skip to content

Latest commit

 

History

History
83 lines (65 loc) · 1.79 KB

README.md

File metadata and controls

83 lines (65 loc) · 1.79 KB

IET On Campus, BIT Mesra Official Website

Table of contents

Installation and Setup

  • Fork the repository
  • Clone and create your branch
  • Open the project and run following commands for setup
# install dependencies
$ npm install

# serve with hot reload at localhost:3000
$ npm run dev

Adding New Team

  • Create a directory in assets with format team_<year> to add member images.
  • Create a .js file in teamDetails directory in assets with same name format as above and add the team details as:
const team_<year> = {
    year: "start - end",
    members: [
        ...,
        {
            name: "",
            position: "",
            imagePath: "team_<year>/abc.jpg",
            facebookLink: "",
            linkedinLink: "",
            githubLink: "",
            instagramLink: "",
            emailAddress: ""
        },
        ...
    ]
};

export default team_<year>;
  • Update Team.vue component with new team details.
  • Add the new team to previous-teams page as well.

Refer previous code for more details.

Deployment

Run build command with publish directory as dist.

# build command
npm run generate

Contributing

Follow below steps to contribute:

  • Fork the repository
  • Create your branch
  • Commit changes
  • Push to the branch
  • Open a pull request

Refer Nuxt.js documentation for more details.