集成 Egg、Vue、TypeScript、Apollo、GraphQL 脚手架
发布于 8 年前 作者 okoala 9787 次浏览 来自 分享

点击访问

技术栈

  • main stack
    • Egg - Born to build better enterprise frameworks and apps.
    • Vue - Simple yet powerful library for building modern web interfaces.
    • TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
    • Apollo - Apollo is an incrementally-adoptable data stack that manages the flow of data between clients and backends. Based on GraphQL
    • GraphQL - GraphQL is a query language and execution engine tied to any backend service.
  • other stack

    • Yarn - Fast, reliable, and secure dependency management.
    • Vuex - Centralized State Management for Vue.js.
    • Vue Router - It deeply integrates with Vue.js core to make building Single Page Applications with Vue.js a breeze.
    • Element - Desktop UI elements for Vue.js 2.0
    • JSON Web Tokens - Industry standard RFC 7519 method for representing claims securely between two parties.
    • Webpack - A bundler for javascript and friends. Packs many modules into a few bundled assets.
    • Babel - Babel is a compiler for writing next generation JavaScript.
    • Release It! - Interactive release tool for Git repos. Bump version, commit, tag, push, build, publish to npm.
    • Karma - Spectacular Test Runner for JavaScript.

截图

image.png

使用说明

step1 (preinstall):
  npm i -g yarn
  npm i -g release-it
  npm i -g nodemon

墙内请使用 taobao registry
  npm i -g yarn --registry=https://registry.npm.taobao.org
  npm i -g release-it --registry=https://registry.npm.taobao.org
  npm i -g nodemon --registry=https://registry.npm.taobao.org
  yarn config set registry https://registry.npm.taobao.org

step2 (dependencies):
  yarn

step3 (development):
  npm run dev

step4 (login):
  name: okoala
  pwd:  123456

更新计划

4 回复

支持支持

From KoaHub.js

不错,收藏

有点刁,我比较好奇使用ts,也就是说所有地方都用ts吗?egg、vue都没有ts版本吧?

回到顶部