GithubHelp home page GithubHelp logo

nicke-webpack-template's Introduction

nicke-webpack-template

基于webpack4配置Vue+Element开箱即用的单页面前端模板

目录

特征

  1. 区分development、test、production环境, 可自由选择并进行开发
  2. 支持中/英国际化
  3. 支持按需引入Element-ui组件
  4. Vue-router 路由管理
  5. Vuex 状态管理
  6. Axios 封装及接口管理
  7. 支持DLL动态链接库,提升打包速度
  8. 支持Report打包分析
  9. 添加git提交代码规范
  10. 增加版本号,并通过轮询检测版本更新,做到更新提示
  11. 支持jsx语法

启动

#克隆该项目
git clone https://github.com/Jarhowe/nicke-Webpack-template.git

# 进入项目目录
cd nicke-webpack-template

# 安装依赖
npm install/yarn install

# 启动服务
npm install/yarn start

打包

# 1、启动DLL动态链接库优化打包速度,可webpack.config.js配置下dllEnable选择为true即可【推荐使用,减少模块不能再次被打包】
yarn dll

# 打包到测试环境
yarn test

# 打包到生产环境
yarn build:prod

规范

# 1、生成version日志
yarn version

# 2、提交代码到git代码仓库
yarn commit

兼容

Modern browsers and Internet Explorer 10+.

IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
IE11, Edge last 2 versions last 2 versions last 2 versions

nicke-webpack-template's People

Contributors

jarhowe 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.