Coder Social home page Coder Social logo

web-space's Introduction

web-space 标准前端脚手架

这款脚手架工具主要是为了方便还在使用 CMS 模版语法的程序员

在这个 vue react 等前端技术流行的时代,依然还在使用 CMS 语法的程序员想必一定是十分无奈

因为用不到最新的技术栈,无疑是非常吃亏的,而且往往会要求程序员兼容低版本的IE8

编写一个网页需要花费很大的功夫

在本脚手架中你只要正常使用 TS+ES6 语法,剩下的我来搞定

所幸你可以使用这个脚手架,在用到最新技术的同时,也可以极大加快你的开发速度,相信我,你的选择没有错

特性

  • 支持 TypeScript
  • 支持 IE8+
  • 支持 JSX
  • 支持多页面多入口开发
  • 支持按需打包,按需开发,加快构建速度
  • 默认使用 SCSS
  • 默认使用 art-template 模板语法,可以极大减少代码量
  • 编译时自动去除无用 CSS 样式,减小文件大小
  • 可选择是否压缩 JS 或者 HTML 文件
  • 为资源文件自动生成 URL,不必担心线上找不到路径
  • 配置简单明了,所有配置均可在 config/setting-* 中进行修改

快速上手

安装

git clone https://github.com/ifui/web-space.git

cd web-space

npm install

运行

npm run serve

本地打包

npm run build-local

线上打包

npm run build-prod

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.