Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jacobhsu/buddhist-style

佛系圖生成器
https://github.com/jacobhsu/buddhist-style

Last synced: about 1 month ago
JSON representation

佛系圖生成器

Awesome Lists containing this project

README

        

# buddhist-style

### Installation

`npm i`
`npm run build`

### Note

package.json
`npm init`

`npm i webpack webpack-cli --save-dev`
`npm i copy-webpack-plugin --save-dev` 複製資料夾
`npm i style-loader css-loader sass-loader --save-dev` to load css
`npm i url-loader --save-dev` to laod img
`npm i babel-loader babel-core babel-preset-env babel-preset-es2015 --save-dev` to laod ES6 (ES2015)
`npm i html2canvas file-saver --save-dev`

`npm i node-sass --save-dev`
`npm i webpack-dev-server -save-dev`

[webpack-dev-server](https://github.com/webpack/webpack-dev-server)
`npm run start:dev`

`$ git subtree push --prefix dist origin gh-pages`

### Reference

[Babel Loader](https://github.com/babel/babel-loader)
[html2canvas](https://html2canvas.hertzen.com/) - Screenshots with JavaScript
[FileSaver.js](https://github.com/eligrey/FileSaver.js/) An HTML5 saveAs() FileSaver implementation
[buddha-style](https://github.com/ShawTim/buddha-style)
[Can't apply border radius to canvas (html2canvas)](https://stackoverflow.com/questions/28276179/cant-apply-border-radius-to-canvas-html2canvas)