Coder Social home page Coder Social logo

myblog's Introduction

🐷 的个人网站

目录结构介绍

|-- assest
|   |-- css                           // 样式表
|   |-- font                          // 字体库
|   |-- js
|   |   |-- skrollr.min.js            // 视觉滚动差插件
|   |   |-- utils.js                  // 通用函数、方法
|-- components
|   |-- articleList                   // 文章列表组件
|   |-- comment                       // 评论组件
|   |-- footer                        // 底部组件
|   |-- header                        // 头部组件
|   |-- hotArticle                    // 热门文章组件
|   |-- loading                       // 加载组件
|   |-- tags                          // 文章标签组件
|   |-- weather                       // 天气组件
|-- layouts                           // 默认布局
|-- middleware
|-- pages
|   |-- about                         // 个人页面
|   |-- article                       // 文章页面
|   |-- photos                        // 相册页面
|-- plugins
|   |-- axios.js                      // axios 过滤器
|   |-- directive.js                  // 自定义指令
|   |-- filters.js                    // vue 过滤器
|-- static                            // 静态文件
|-- store                             // Vuex 状态树
|-- .eslintrc.js                      // eslint 配置文件
|-- .prettierrc                       // prettierrc 配置文件
|-- nuxt.config.js                    // nuxt 配置文件
|-- package.json                      // 项目及工具的依赖配置文件
|-- README.md                         // 说明

构建生产

// 安装
npm install

// 本地环境
npm run dev

效果图

首页

照片墙

如何通过 axios 请求接口?

this.$axios
  .post(url, param)
  .then(res => {})
  .catch(err => {})

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.