chore: rename project
This commit is contained in:
1 parent
9195a387b2
commit
96146c7c27
13 files changed
+15
-15
No files matched your search
@@ -7,8 +7,8 @@ sidebar_position: 1
|
||||
我们将通过 `http-server` 来模拟访问 HTML 网页的过程,从浏览器、网络和服务器这几个方面详细介绍。
|
||||
|
||||
## 创建index.html
|
||||
1. 对于创建`index.html`文件,可以参考[使用VScode](https://idealjs.github.io/full-stack-tutorial/docs/web/hello_world/use_vscode)文档
|
||||
2. 在`index.html`文件输入内容,可以参考[第一个页面(hello world)](https://idealjs.github.io/full-stack-tutorial/docs/web/hello_world/first_page)文档
|
||||
1. 对于创建`index.html`文件,可以参考[使用VScode](https://idealjs.github.io/stack/docs/web/hello_world/use_vscode)文档
|
||||
2. 在`index.html`文件输入内容,可以参考[第一个页面(hello world)](https://idealjs.github.io/stack/docs/web/hello_world/first_page)文档
|
||||
|
||||
## 安装http-server
|
||||
运行以下命令进行安装,其中`-g`代表全局安装
|
||||
|
||||
@@ -9,7 +9,7 @@ sidebar_position: 2
|
||||
1. 已创建react ts工程
|
||||
|
||||
>**提示**
|
||||
若未创建react ts工程,可以参考[使用vite创建react ts工程](https://github.com/idealjs/full-stack-tutorial/blob/main/docs/react/react_ts.md)文档
|
||||
若未创建react ts工程,可以参考[使用vite创建react ts工程](https://github.com/idealjs/stack/blob/main/docs/react/react_ts.md)文档
|
||||
|
||||
## 项目初始化
|
||||
打开react ts工程
|
||||
|
||||
@@ -7,7 +7,7 @@ sidebar_position: 1
|
||||
1. 已创建vanilla ts工程
|
||||
|
||||
>**提示**
|
||||
若未安装vanilla ts工程,可以参考[vite的入门](https://github.com/idealjs/full-stack-tutorial/blob/main/docs/vite/vite.md)文档
|
||||
若未安装vanilla ts工程,可以参考[vite的入门](https://github.com/idealjs/stack/blob/main/docs/vite/vite.md)文档
|
||||
|
||||
## 项目初始化
|
||||
打开vanilla ts工程
|
||||
|
||||
@@ -13,7 +13,7 @@ sidebar_position: 1
|
||||
5. 确认已启动数据库
|
||||
|
||||
>**提示**
|
||||
如果不知道怎么启动数据库,可以参考使用 [Docker启动数据库](https://github.com/idealjs/full-stack-tutorial/blob/main/docs/docker/start.md)文档
|
||||
如果不知道怎么启动数据库,可以参考使用 [Docker启动数据库](https://github.com/idealjs/stack/blob/main/docs/docker/start.md)文档
|
||||
|
||||
## 项目初始化
|
||||
- 打开Next.js项目
|
||||
|
||||
@@ -49,7 +49,7 @@ git 是一个代码管理工具,可以追踪代码的提交记录。这是每
|
||||
以此代码仓库为例,实际操作一下
|
||||
|
||||
```
|
||||
git clone https://github.com/idealjs/full-stack-tutorial.git
|
||||
git clone https://github.com/idealjs/stack.git
|
||||
```
|
||||
|
||||
后面的地址我们可以在 github 上看到,但是需要选用 https 的地址。
|
||||
|
||||
@@ -10,7 +10,7 @@ sidebar_position: 10
|
||||
|
||||
参考上一章
|
||||
|
||||
- [传送门](https://idealjs.github.io/full-stack-tutorial/docs/post-8#%E6%9C%AC%E5%9C%B0%E6%9E%84%E5%BB%BA%E7%8E%AF%E5%A2%83%E6%90%AD%E5%BB%BA)
|
||||
- [传送门](https://idealjs.github.io/stack/docs/post-8#%E6%9C%AC%E5%9C%B0%E6%9E%84%E5%BB%BA%E7%8E%AF%E5%A2%83%E6%90%AD%E5%BB%BA)
|
||||
|
||||
## 创建一个 React 工程
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ sidebar_position: 4
|
||||
|
||||
本篇的完整代码,可以在这里找到:
|
||||
|
||||
- [examples/post-4/hello.html](https://github.com/idealjs/full-stack-tutorial/blob/main/examples/post-4/hello.html)
|
||||
- [examples/post-4/hello.html](https://github.com/idealjs/stack/blob/main/examples/post-4/hello.html)
|
||||
|
||||
## 查看这个网页
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ sidebar_position: 5
|
||||
|
||||
本篇的完整代码,可以在这里找到:
|
||||
|
||||
- [examples/post-5/hello.html](https://github.com/idealjs/full-stack-tutorial/blob/main/examples/post-5/hello.html)
|
||||
- [examples/post-5/hello.html](https://github.com/idealjs/stack/blob/main/examples/post-5/hello.html)
|
||||
|
||||
## 查看这个网页
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ Web 由 HTML5 + CSS3 + JS 构成。本节将介绍 JS 的 Hello World。
|
||||
|
||||
本篇的完整代码,可以在这里找到:
|
||||
|
||||
- [examples/post-6/hello.html](https://github.com/idealjs/full-stack-tutorial/blob/main/examples/post-6/hello.html)
|
||||
- [examples/post-6/hello.html](https://github.com/idealjs/stack/blob/main/examples/post-6/hello.html)
|
||||
|
||||
## 查看这个网页
|
||||
|
||||
@@ -40,7 +40,7 @@ Web 由 HTML5 + CSS3 + JS 构成。本节将介绍 JS 的 Hello World。
|
||||
</html>
|
||||
```
|
||||
|
||||
我们需要关注的是如下代码块,其余部分是 HTML5 的标签,想了解的话,可以查看[HTML5 Hello World](https://idealjs.github.io/full-stack-tutorial/docs/post-4)。
|
||||
我们需要关注的是如下代码块,其余部分是 HTML5 的标签,想了解的话,可以查看[HTML5 Hello World](https://idealjs.github.io/stack/docs/post-4)。
|
||||
|
||||
```html
|
||||
<script>
|
||||
|
||||
@@ -55,7 +55,7 @@ v14.18.0
|
||||
|
||||
本篇的完整代码,可以在这里找到:
|
||||
|
||||
- [examples/post-9/hello.js](https://github.com/idealjs/full-stack-tutorial/blob/main/examples/post-9/hello.js)
|
||||
- [examples/post-9/hello.js](https://github.com/idealjs/stack/blob/main/examples/post-9/hello.js)
|
||||
|
||||
在有 hello.js 的文件夹下打开控制台(在文件夹下按住 shift 鼠标右击),并且输入
|
||||
|
||||
|
||||
@@ -87,7 +87,7 @@ const config: Config = {
|
||||
},
|
||||
{ to: "/blog", label: "博客", position: "left" },
|
||||
{
|
||||
href: "https://github.com/idealjs/full-stack-tutorial",
|
||||
href: "https://github.com/idealjs/stack",
|
||||
label: "GitHub",
|
||||
position: "right",
|
||||
},
|
||||
|
||||
@@ -25,7 +25,7 @@ const HomePageHeader = () => {
|
||||
<div className={styles.buttons}>
|
||||
<Link
|
||||
className="button button--secondary button--lg"
|
||||
to="https://github.com/idealjs/full-stack-tutorial/discussions"
|
||||
to="https://github.com/idealjs/stack/discussions"
|
||||
>
|
||||
参与讨论
|
||||
</Link>
|
||||
|
||||
Reference in new issue
Block a user