Comments (6)
@ZinCode
首先你要把项目clone到本地,或者fork
然后你可以使用任何你习惯的启动web服务的方式,我推荐两种方式:
一、使用 http-server npm包
1、全局安装 http-server
npm install -g http-server
2、进入clone下来的项目目录执行
http-server -p 9090
3、访问:http://你的ip地址:9090/docs/index.html
二、本文档使用 docute 编写,你可以使用docute脚手架
1、全局安装 docute-cli
npm install -g docute-cli
2、进入clone下来的项目目录执行
docute ./docs
3、根据提示访问即可
from knowledge.
你好,为什么我能看到文字,但是看不到图?
from knowledge.
@Benny-gb 你看一下你clone下来的项目里,有没有图片,在asset目录
from knowledge.
@HcySunYang 有图片,就是读不出来.
from knowledge.
@Benny-gb 你是如何启动的服务,如何访问的,浏览器有没有报什么错误。
from knowledge.
@HcySunYang 找到原因了,因为我把服务的启动目录放在docs文件夹外了。谢谢。
Sent from my OnePlus ONEPLUS A5000 using FastHub
from knowledge.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from knowledge.