Code Monkey home page Code Monkey logo

luffy's Introduction

GUI

本项目所用到的东西,以及相关文档

  • electron:构建桌面应用的壳子
  • vue:不多解释,vue大法好
  • electron-vue:基于vue-cli扩展的electron与vue结合的脚手架
  • iview:UI框架

开始之前

  • 确定自己的机器已经安装了yarn,如果没有,就brew安装下吧,很快~
  • 确定yarn已经配置了淘宝镜像,因为electron比较大,国外镜像很慢很慢很慢,设置方法:
yarn config set registry https://registry.npm.taobao.org

开始安装

# install dependencies
yarn install

# serve with hot reload at localhost:9080
yarn run dev

Tips

  • VsCode 中eslint 不好使,autofix影响很大?

    (1).vscode 插件安装,Vetur

    (2).vscode 中配置添加:

    "eslint.autoFixOnSave": true,
    "eslint.validate": [
      "javascript",{
        "language": "vue",
        "autoFix": true
      },
      "html",
      "vue"
    ],
  • vetur 在template中引用ivew会导致template误报红线?

    继续增加配置:"vetur.validation.template": false,


luffy's People

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.