Coder Social home page Coder Social logo

nei update 能不能添加参数不生成脚手架模板或者增加脚手架(对应js 、common/*.ftl等)路径的配置 about nei-toolkit HOT 1 CLOSED

neiapi avatar neiapi commented on May 18, 2024
nei update 能不能添加参数不生成脚手架模板或者增加脚手架(对应js 、common/*.ftl等)路径的配置

from nei-toolkit.

Comments (1)

huntbao avatar huntbao commented on May 18, 2024

由于无法做到所有的 web 工程目录结构都保持一致,所以:

  1. nei build 的逻辑保持不变。
  2. nei update 增加 --view 参数,表示“是否需要更新页面的模板文件和相应的 js 模块代码”,默认为 true,即会更新。

使用如下命令不会更新页面和相应的 js 模块代码:

nei update [projectId] --view false

注意:在使用 --view 参数时,无论它的值是什么,页面路由文件 route.js 都是会更新的。

from nei-toolkit.

Related Issues (20)

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.