superset 前端编译

npm packages

To install third party libraries defined inpackage.json, run the following within thesuperset/assets/directory which will install them in a newnode_modules/folder withinassets/.

#from the root of the repository, move to where our JS package.json livescdsuperset/assets/#install yarn, a replacement for `npm install` that is faster and more deterministic

npm install -g yarn

#run yarn to fetch all the dependencies

yarn

To parse and generate bundled files for superset, run either of the following commands. Thedevflag will keep the npm script running and re-run it upon any changes within the assets directory.

# Copies a conf file from the frontend to the backend

npm run sync-backend

# Compiles the production / optimized js & css

npm run prod

# Start a web server that manages and updates your assets as you modify them

npm run dev

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • PLEASE READ THE FOLLOWING APPLE DEVELOPER PROGRAM LICENSE...
    念念不忘的阅读 13,565评论 5 6
  • **2014真题Directions:Read the following text. Choose the be...
    又是夜半惊坐起阅读 9,998评论 0 23
  • 在简书上看到一位做设计师的作者,她在怀孕期间开始更文,同时坚持每天画原创画,做手账,读书并写很有特色的笔记,同时她...
    玛莉随心记阅读 265评论 0 0
  • 杂语 一直循环在一首歌里时会沉浸其中,会联想到琐事。歌只是大众的歌,但是听着歌会联想到一些场景,一些人,便就是故事...
    铖26阅读 372评论 0 2
  • 早晨,太阳刚刚升起,朵朵白云在天空中飘浮着。阳光明媚、空气清新,公鸡也喔喔喔地叫了起来,仿佛在说:“起床啦,起床啦...
    新余宝贝阅读 273评论 0 0