GithubHelp home page GithubHelp logo

yinmay / vue-resumer Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 1.68 MB

an web-app created by vue and please visit: https://yinmay.github.io/vue-resumer/dist

JavaScript 65.49% HTML 0.92% Vue 32.04% CSS 1.54%

vue-resumer's Introduction

vue-resumer

A Vue.js project

initialize

  • npm init -y

  • npm i -g vue-cli

  • vue init webpack .(当前目录)

  • npm i

  • npm run dev

  • npm i -D sass-loader node-sass(用sass,不需要配置webpack)

import element UI

  • npm i element-ui -S
//eleme ui
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

Vue.use(ElementUI);

topbar

简历编辑

  • import iconfont(symbol)
  • tab
   <li v-for="i in [0,1,2,3,4,5]"
       v-bind:class="{active:currentTab === i}"
       v-on:click="currentTab = i">
            <svg class="icon" >
            <use v-bind:xlink:href=" `#icon-${icons[i]}` "></use>
        </svg>
    </li>
    //替代
    <li v-bind:class="{active:currentTab === 0}" v-on:click="currentTab = 0">
         <svg class="icon" >
            <use xlink:href="#icon-shenfen"></use>
        </svg>
       </li>
     
     <li v-for="i in [0,1,2,3,4,5]" 
         v-bind:class="{active:currentTab === i}">
         tab {{i+1}}
     </li>

     //替代
     <li v-bind:class="{active:currentTab === 1}">tab 2</li>

预览

简历保存

  • 全局注册:在new vue之前注册,不需要import,少用全局
Vue.component('Jack',{
    template:'<p>{{name}}</p>',
    data(){
        return{
            name:'Jack'
        }
    }
})

  • 解决404问题就是添加目录或者减目录

vue-resumer's People

Contributors

yinmay avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.