# vue-mobile **Repository Path**: wmcat/vue-mobile ## Basic Information - **Project Name**: vue-mobile - **Description**: vue移动端项目架构 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2020-06-03 - **Last Updated**: 2021-02-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # v-mobile ## Project setup ``` npm install ``` ### Compiles and hot-reloads for development ``` npm run serve ``` ### Compiles and minifies for production ``` npm run build ``` ### Lints and fixes files ``` npm run lint ``` ### package.json依赖包介绍 ``` vue-loader 用于 Vue 单文件组件的 webpack 加载器,处理 SFC 中的每个语言块,然后组装成最终模块 vue-template-compiler 该模块可用于将 Vue 2.0 模板预编译为渲染函数(template => ast => render) core.js 提供了es5、es6的polyfills 如果使用了 babel-runtime、babel-plugin-transform-runtime 或者 babel-polyfill,你就可以间接的引入了 core-js 标准库 @vue/cli-plugin-babel 集成了 @vue/babel-preset-app ,@vue/babel-preset-app 文档里提到了集成了 babel-preset-env 这个 babel preset @vue/cli-service - 加载其它 CLI 插件的核心服务 - 一个针对绝大部分应用优化过的内部的 webpack 配置 - 项目内部的 vue-cli-service 命令,提供 serve、build 和 inspect 命令 postcss-import 主要功有是解决@import引入路径问题 postcss-url 该插件主要用来处理文件,比如图片文件、字体文件等引用路径的处理 postcss-aspect-ratio-mini postcss-px-to-viewport postcss-write-svg postcss-cssnext cssnano postcss-viewport-units ``` ### Customize configuration See [Configuration Reference](https://cli.vuejs.org/config/).