Thanks. I found it useful.
and I found saving pdf in chrome not do good as I wish.
After looking at https://stackoverflow.com/questions/17820857/print-save-as-pdf-keeping-the-css-layout
I move css style in index.html to new xx.css and link to index.html back, save pdf is good now.
I edit the dist/ only, not in source.