Git Product home page Git Product logo

poorarea_visualization's Introduction

poorarea_visualization

一个从 0 开始的可视化项目,正在开发中...

开发日记

2020.10.29

项目基本框架的搭建。

基于 Vue-cli,引入 Babel Router Vuex Less ESLint + Prettier

在 vue.config.js 中自定义端口并在启动项目时自动打开浏览器

引入 Echarts

index.html 文件中通过 script 标签引入 echarts, 此时用 window.echarts 为全局的 echarts 对象. 我用的是字节的 CDN 然后全局的 echarts 对象挂载到 vue 的原型对象上:在 main.js 中挂载

引入 Axios

配置基本路径 axios.defaults.baseURL = "http://127.0.0.1:xxx/api" 并挂载

另外,完成了一些基本组件的引入以及全局样式的简单配置。

今日 bug

Prettier 总是提示 warning 强迫症很难受,下次我一定不用它来格式化了

解决方法:

  1. npm run lint --fix 可以每次 commit 之前用一下

poorarea_visualization's People

Contributors

vergessenwang 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.