yaoyonstudio / t-web-template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Web Basic

Essential Requirement:

Environment:

  • NodeJS 10+
  • Git

Editor:

  • Visual Studio Code
  • Plugins:
    • Add jsdoc comments
    • Auto Close Tag
    • Auto Rename Tag
    • Beautify
    • Better Comments
    • Debugger for Chrome
    • DotENV
    • EditorConfig for VS Code
    • ESLint
    • GitLens
    • HTML CSS Support
    • IntelliSense for CSS class names in HTML
    • JavaScript (ES6) code snippets
    • JS-CSS-HTML Formatter
    • npm
    • npm Intellisense
    • Prettier - Code formatter
    • vscode-icons

Features

  • Webpack 多页面配置
  • JQuery 嵌入
  • JQuery请求封装
  • 全局样式文件 + normalize 样式 + flex 布局样式 + 基础样式
  • 第三方 Utils
  • ES模块化
  • 独立 Services
  • Code Snippets
  • Mocks 数据
  • Visual Studio Code 编辑器配置
  • 浏览器兼容性配置
  • 代码美化配置
  • eslint 配置
  • babel 配置
  • postcss 配置
  • git 初始化
  • gitignore 配置

使用

安装依赖

npm install   // cnpm install // yarn install

启动 mocks 服务

npm run mocks  // yarn mocks

启动应用

npm run dev   // yarn dev

打包应用

npm run build   // yarn build

About


Languages

Language:JavaScript 98.9%Language:CSS 0.7%Language:HTML 0.4%