Giter Site home page Giter Site logo

vue-demo's Introduction

vue-demo

Vue 2.0+ 与 Vue Cli 4 (@vue/cli 4.5.3)项目模板

使用方法

检查是否安装 node、npm、vue,如若没有返回对应版本号,请去 node 官网安装,再次检查。然后安装Vue Cli。

node -v
npm -v
npm install -g @vue/cli
vue -V

目录结构

my_project_name/	
|- BuildScript           // 流水线部署文件目录
|- docs                  // 项目的细化文档目录(可选)
|- nginx                 // 部署在容器上前端项目 nginx 代理文件目录
|- node_modules          // 下载的依赖包
|- public                // 静态页面
    |- index.html            // 项目入口
|- src:
    |- api
    |- assets                // 静态资源目录,这里的资源会被wabpack构建
         |- icon             // 公共svg图标存放目录
         |- img              // 图片存放目录
         |- scss             // 公共样式文件目录
    |- components            // 组件
    |- plugins               // 插件
    |- router                // 路由
         |- routes           // 详细的路由拆分目录(可选)
         |- index.js
    |- store                 // 全局状态管理
    |- utils                 // 工具
    |- views                 // 页面
    |- App.vue               // 根组件
    |- main.js               // 入口文件
|- .browserslistrc
|- .eslintignore        // eslint 忽略规则
|- .eslintrc.js         // eslint 规则
|- .gitignore           // git 忽略规则
|- babel.config.js      // babel 规则
|- Dockerfile           // Docker 部署文件
|- package-lock.json
|- package.json         // 依赖 
|- README.md            // 项目 README
|- vue.config.js	    // webpack 配置

vue-demo's People

Contributors

sophia-u 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.