GithubHelp home page GithubHelp logo

Comments (4)

chenzhutian avatar chenzhutian commented on July 26, 2024

就是要开发模式下不启用么?

from hexo-all-minifier.

think2cat avatar think2cat commented on July 26, 2024

是,我刚从wordpress换到hexo,新手,也不知道用的方法对不对
我是本地开hexo s进行编辑,然后再hexo g -d生成和提交
感觉当server时可以不用时刻去优化,而在生成时再进行优化

from hexo-all-minifier.

chenzhutian avatar chenzhutian commented on July 26, 2024

ok,我看看能不能判断一下

from hexo-all-minifier.

chenzhutian avatar chenzhutian commented on July 26, 2024

我发现我已经设置了开发者模式不启动,你可能得自己设置一下环境变量, 可以在npm script里加
windows 下是"set NODE_ENV=development&& hexo server" (注意没有空格在&&前面)
max or linux下是 "NODE_ENV=development hexo server"

from hexo-all-minifier.

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.