Skip to content

gonewbee/myCalendar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

搭建开发环境

webpack打包

编写webpack.config.js,将jsx打包为js

sass

sass scss/style.scss css/style.css

SASS监听某个目录

sass --watch scss:css

使用babel

也可以不使用webpack打包,安装babel

npm install --global babel-cli --registry https://registry.npm.taobao.org
npm install babel-preset-react --registry https://registry.npm.taobao.org

转换jsx到js

babel --presets react jsx\index.jsx --out-file js\index.js

监听变化

babel --presets react jsx --watch --out-dir js

About

Use electron and react create my calendar app.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages