Giter Site home page Giter Site logo

myfirstvueapp's Introduction

这是第一次用vue打造的项目(我是react玩家,拿vue练练手,挺容易上手的,也挺好玩),界面随便设计的,也没做适配。 项目预览

项目用到的技术(适合对es6有所了解的同学参考学习)

0.基于vue-cli脚手架,主要使用了vue + vue-router + es6 + sass

1.安装了element-ui,按需加载。吐槽下这框架真不好用,组件少,而且用个按钮组件没问题但控制台老是报elFormItem错误。可能这套ui不适于博客类型网站;

2.利用了lean-cloud来存储数据(其实也就访问量和点赞数),leancloud文档地址

3.通过marked.jshighlight.js实现了解析markdown文件高亮代码块

4.通过axios来异步请求加载数据;

5.引入了font-awesome图标库;

Setup

# 将项目拷贝到mydir目录下
$ git clone https://github.com/littlezong/gnoz.git mydir

# 进入项目
$ cd mydir

# 安装依赖(推荐yarn,记得设置淘宝代理)
$ npm install (or yarn install)

# 本地运行
$ npm start (or yarn start)

# 打包
$ npm run build (or yarn run build)

npm start成功后可访问 http://localhost:8085

如有发现问题欢迎反馈,也可以互相学习交流。

myfirstvueapp's People

Contributors

gnozheng avatar

Stargazers

 avatar

Watchers

 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.