【文件属性】:
文件名称:weather-js:使用位置搜索的简单天气应用程序
文件大小:9.63MB
文件格式:ZIP
更新时间:2021-05-31 09:24:21
JavaScript
Weather Js - 前端
一种在地点搜索天气的简单方法。 使用 JavaScript 构建
内置
HTML
CSS
引导程序
JavaScript
现场演示
入门
要启动并运行本地副本,请遵循这些简单的示例步骤。
先决条件
Visual Studio Code 的 Live Server 插件
设置
1-克隆存储库
git clone https://github.com/elberthcorniell/weather-js.git
2- 在 VS Code 上打开文件夹。
cd weather-js
code .
3- 右键单击 dist/index.html 文件,然后单击“使用 Live Server 打开”
4- 现在一切都应该运行了。
JavaScript 构建
在存储库文件夹中的终端上运行下一个:
用于开发:
npm run
【文件预览】:
weather-js-development
----.eslintrc.json(386B)
----.gitattributes(66B)
----.github()
--------workflows()
--------capture.png(455KB)
----webpack.config.js(164B)
----src()
--------images()
--------js()
--------index.js(672B)
--------style.css(2KB)
----.stylelintrc.json(325B)
----LICENSE(1KB)
----README.md(2KB)
----dist()
--------index.html(1KB)
--------main.js(2KB)
----.gitignore(12B)
----package-lock.json(98KB)
----package.json(714B)