Giter Site home page Giter Site logo

gos-its-web's Introduction

前端项目说明

1. 使用的技术栈:

2. 开发环境

前端代码需要运行在Node环境下,Nodejs可从官网进行下载安装

安装完成后,Node自身会自带npm包管理器(国内推荐使用淘宝镜像cnpm

gitlab上拉去最新的前端代码

在项目的根目录下运行cmd:

第一次运行需要安装依赖包

npm install

安装完依赖包后,运行run命令进入开发环境

npm run dev

开发环境端口号为8080

运行build命令进行项目的打包

npm run build

项目打包会输出到dist/文件夹

3. 项目目录结构

├───dist                                       # 项目打包输出文件
├───config                                     # 环境运行配置文件
├───src
│   ├── components                                  # 存储封装组件
│   ├──  css                                        # 外部引入 css 文件
│   ├──  page                                       # vue-loader (单页面文件)
│   ├──  router                                     # vue-router (路由配置)
│   ├──  store                                      # vuex (存储公用数据、方法)
│   ├──  App.vue                                    # vue 目录结构
│   └── main.js                                     # vue 渲染文件
│
├── index.html                                 # 项目入口
│
└── package.json                               # 配置文件(依赖包,项目配置信息)

gos-its-web's People

Contributors

gengchao123 avatar

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.