GithubHelp home page GithubHelp logo

yaoyonstudio / vue2-webpack-es6 Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 5.0 14 KB

手动搭建一个vue2.0项目工程框架

Home Page: http://www.thatyou.cn/%e6%89%8b%e5%8a%a8%e6%90%ad%e5%bb%ba%e4%b8%80%e4%b8%aavue2-0%e9%a1%b9%e7%9b%ae%e5%b7%a5%e7%a8%8b%e6%a1%86%e6%9e%b6/

JavaScript 74.28% Vue 14.36% CSS 2.99% HTML 8.37%

vue2-webpack-es6's Introduction

vue2-webpack-es6

 这是一个手动构建的vue2项目,主要配置有:

构建方面

  • 1、使用webpack配置和打包
  • 2、实时开发调试
  • 3、ES 6语法
  • 4、ESLint语法检查
  • 5、SCSS样式以及PostCSS配置自动添加浏览器兼容
  • 6、加入一个全局样式文件(SCSS),并提取组件中的样式(SCSS),一起打包成CSS样式文件
  • 7、图片优化处理(小于10K使用base64格式,大于10K使用文件资源形式)
  • 8、代码打包分库文件和程序文件分别打包,库文件预设Vue/Vue-Router/axios三个库
  • 9、开发模式和生产模式特别配置

###使用

  • 下载 git clone https://github.com/yaoyonstudio/vue2-webpack-es6.git
  • 在命令行下进入项目文件夹 cnpm install
  • 开发调试 npm run server
  • 打包(生产模式) npm run build

vue2-webpack-es6's People

Contributors

ken-yao avatar yaoyonstudio avatar

Stargazers

Tony avatar link avatar Flyher D avatar liliangshan 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.