有哪些值得推薦的一頁式網站(Single-page app)?html
http://pro.weltrade.com/en/nginx
最近開到一下國外網站,一頁到底,感受很高大上,究竟是怎麼作出來的呢?技術要點是什麼???git
相似https://www.skypixel.com/,用angular 是否是更便捷,先研究研究angularjs
DEMO:http://paul-xiao.github.io/spagithub
刷新頁面還有點問題app
修改:nginx.conf網站
try_files $uri $uri/ /spa/index.html =404;
server { listen 80; server_name localhost; #charset koi8-r; #access_log logs/host.access.log main; location / { root html; index index.html index.htm; try_files $uri $uri/ /spa/index.html =404; }
使用命令行CMD從新加載nginx:ui
cd nginx
nginx -s reload
搞定:url