Giter Club home page Giter Club logo

tsproject's Introduction

项目说明

必要知识点

  • node 点击下载node
  • gulp 构建工具介绍
  • sass Sass入门语法
  • es6 ECMAScript 6 入门
  • ts TypeScript文档
  • vue vue入门指南
  • vuex 基于vue的状态管理模式
  • vue-router 基于vue的页面路由
  • element-ui element-ui框架

运行项目

# 安装依赖
$ npm install

# 运行开发环境(启动webserver和webpack监听任务)
$ npm run dev

构建发布版本

# 构建生产版本
$ npm run production

# 单独启动webserver
npm start

目录结构

  • 其中 src/core 目录,项目初建时规定,不可任意扩展,需团队协商后再更新内容
  .babelrc                          babel配置文件,使用ts可移除
  .eslintrc                         eslint配置文件,使用ts可移除
  .gitignore                        git项目忽略文件
  .npmrc                            npm管理工具的配置文件,可配置代理等
  gulpfile.js                       gulp任务配置文件
  package-lock.json                 npm自动生成
  package.json                      gulp任务依赖的插件列表
  postcss.config.json               css预处理配置
  README.md                         项目说明文件
  tsconfig.json                     typescript配置
  tslint.json                       typescript语法检测规则配置
  yarn.lock                         yarn自动生成

├─node_modules                       依赖的模块儿

├─www                                发布目录

└─src
    ├─components                     组件
    ├─core                           项目核心文件、公共定义
    ├─pages                          页面
    └─service                        服务层、对接接口

团队协作必要工具插件 → 传送门

tsproject's People

Contributors

likej2ee avatar

Stargazers

 avatar

Watchers

James Cloos avatar  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.