vue.js - Submit the project to github, how to achieve online preview effect
给我你的怀抱
给我你的怀抱 2017-06-20 10:05:56
0
4
990

Project address: https://github.com/wq93/eleme

给我你的怀抱
给我你的怀抱

reply all(4)
漂亮男人

Obviously you have to build it before you can preview it.

1. Directly transfer the dist to github, and then access it using cdn. Such as this

2. Build a server yourself and deploy the output after the build.

滿天的星座

For purely static purposes, you can use github pages

女神的闺蜜爱上我

If there is no background interaction involved, you can directly run npm run dev locally during development, so that the local access localhost:8080 is the actual effect (the default is to mount port 8080 with hot update). When you submit to GitHub, run npm run build locally and a dist folder will be generated. Just submit the dist folder.

阿神

Use github pages directly

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!