# ad-doc3 **Repository Path**: timywei/ad-doc3 ## Basic Information - **Project Name**: ad-doc3 - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-11-21 - **Last Updated**: 2024-11-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 1.项目结构 -目录结构 www ├─build ├─config ├─dist ├─node_modules └─src ├─assets ├─router ├─App.vue ├─main.js └─components ├─static ├─index.html ├─package.json -项目简介 - build webpack配置文件目录 - config webpack配置文件目录 - dist 打包文件目录 - node_modules 项目依赖目录 - src 页面文件目录 - assets 静态文件目录 - router 路由配置文件目录 - App.vue 根组件 - main.js 入口文件 - components 各个子组件目录 - static 一个不会被webpack编译打包的目录 - index.html 页面 - package.json 依赖下载说明,项目启动配置说明 ## 2.快速开始 - Mac OS X安装Node.js # ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew install npm - Windows安装Node.js - 32位系统下载 https://nodejs.org/dist/v6.2.0/node-v6.2.0-x86.msi - 64位系统下载 https://nodejs.org/dist/v6.2.0/node-v6.2.0-x64.msi - 双击安装 - 全局初始化r npm install cnpm -g --registry=https://registry.npm.taobao.org -全局安装webpack、vue、vue-cli cnpm install webpack -g cnpm install vue -g cnpm install vue-cli -g -局部安装依赖 cnpm install cnpm install node-sass sass-loader --save-dev cnpm install babel-plugin-component -D vue-echarts -S cnpm install mint-ui --save-dev ... -项目初始化 cnpm run dev # www > A Vue.js project ## Build Setup ``` bash # install dependencies npm install # serve with hot reload at localhost:8080 npm run dev # build for production with minification npm run build # build for production and view the bundle analyzer report npm run build --report ```