Giter Club home page Giter Club logo

ztv's Introduction

相关文档

项目构建

  • 安装最新稳定版 node(当前使用的 8.10.0) bash # windows $ nvm install 8.10.0 $ nvm use 8.10.0 # mac $ n use 8.10.0 $ n

  • 安装依赖 bash $ npm install

  • 开发时的热加载服务开启(运行地址) bash $ npm run dev

  • 构建生产版本 bash $ npm run build

  • 生产版本的服务开启 bash $ npm start

  • 生成静态文件项目 bash $ npm run generate

目录结构

  • _old_hrssc 老系统 - _auto 老系统前端工程化相关
  • .nuxt 编译及打包生成的代码
  • assets 未编译的静态资源如 LESS、SASS 或 JavaScript。 - image - scss - pages 页面级样式 - var 变量 - vendor 第三方公共样式 - animate 动画 - element element UI框架 - font font-awesome字体样式 - normalize 浏览器特异性重置 - element_reset.scss element UI框架样式覆写 - element_var.scss element样式变量 - vendor.scss 第三方入口样式 - base.scss 通用入口样式
  • components 应用的 Vue.js 组件
  • layouts 应用的布局组件
  • locales 多语言
  • middleware 中间件
  • auth 权限控制
  • mock 模拟数据
  • pages 路由及页面
  • plugins 需要在根vue.js应用实例化之前运行的js插件 - axios.js ajax - code-editor.js 代码编辑器 - context-menu.js 右键菜单 - cookies.js cookies插件 - echarts.js 图表 - element-ui.js UI框架 - i18n.js 多语言 - lodash.js 数据操作处理 - polyfill.js 高级js补丁 - rich-editor.js 富文本编辑 - storage.js storage插件
  • server 服务端 - apiRoutes.js mock目录解析 - index.js 入口程序
  • static 静态文件 - fonts 字体文件和 - img 图片 - style 样式
  • store vuex状态树
  • util 相关工具型js
  • nuxt.config.js nuxt.js的个性化配置文件
  • package.json 应用的依赖关系和对外暴露的脚本接口

ztv's People

Contributors

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