Giter VIP home page Giter VIP logo

flow-cli's Introduction

English | 中文

Flow-CLI

npm DUB node license

Flow-CLI is an automated tool for Flow-UI development, which realizes automatic front initialization, component-based development, static resource compilation, static resource optimization, image compression and other front-end automation functions.

logo

Introduction

  1. Initialization project
  2. Static resource merger
  3. Less precompilation
  4. Component-based development
  5. Real time preview service
  6. Picture compression

Documentation

Flow-CLI Documentation

Setup

  1. install nodejs(>=6.5.0)
  2. npm:npm install front-flow-cli -g

Use

flow init

Initialize a flow-ui project template in the current directory.

flow build [configName]

Compiling the current development directory, default loading configuration config.json, and specifying the name of the configuration file.

flow run [configName]

Compile and listen to the development directory, start the real-time preview service, the default load configuration config.json, and specify the name of the configuration file.

Interface

preview

License

MIT

Copyright (c) 2017-present, refined-x.com

flow-cli's People

Contributors

dependabot[bot] avatar tower1229 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

flow-cli's Issues

修改js文件,没有重新编译

if (filePath.indexOf(globalConfig.projectDir + '\\lib\\') === 0 || filePath.indexOf('public\\lib\\seajs\\') === 0 || filePath.indexOf('seajs.config') > -1) {

问题描述

  1. 系统环境mac
  2. debug 发现 filePath 的格式为 "_src/js/demo.js",而源码里面的检索的格式为"\js"。这里的分隔符反了,不知是否与系统有关。

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.