a simple homepage (or template) located at
Go to file
2019-10-23 14:16:09 +08:00
src Correct the URL of chemical element Ne 2019-09-25 23:42:10 +08:00
.gitignore migrate to webpack 2019-04-08 17:38:15 +09:00
LICENSE update 2017-06-21 19:15:14 +08:00
package-lock.json Merge pull request #12 from amphineko/dependabot/npm_and_yarn/tar-2.2.2 2019-10-23 14:16:09 +08:00
package.json update readme.md and build script 2019-04-20 05:02:08 +08:00
README.md update readme.md and build script 2019-04-20 05:02:08 +08:00
webpack.config.js refactor webpack config 2019-04-20 04:56:15 +08:00

~/amphineko

This repository is a development copy of my homepage (https://futa.moe/amphineko/), which can be used as a template.

这里是 https://futa.moe/amphineko/ 的开发版本,也可以用来作为制作页面的模版。

Text contents are mainly located at index.html. To replace the texts and the picture (amphineko.png), can be easily done by editing this file.

大部分的文本内容储存在 index.html 中,修改这个文件即可更改页面的主图片和文本。

For furthermore modification, including color settings and layouts, check index.scss and stylesheets/*.scss. Don't forget to run webpack to rebuild SASS files and reflect your modification.

若要进行更进一步的修改(如配色方案与页面布局),请编辑 index.scssstylesheets/*.scss。完事了别忘记 webpack 一下来重新编译 SASS 使更改生效。

build

To build this repository, run these following commands.

运行下面的指令即可完成编译这个仓库。

npm install .
npm run build

You may check your NODE_ENV before executing npm install . to ensure devDependencies are installed.

运行 npm install . 前,你也许应该检查一下 NODE_ENV 来确保 devDependencies 被正确安装。

install might be pretty hard for Windows users who have poor connections to GitHub (for some well-known reasons), while npm is trying to fetch node-sass-binaries on GitHub.

直接访问 GitHub 有困难的 Windows 用户在 install 时,可能会遇到获取 GitHub 上的 node-sass-binaries 导致的问题。

npm set sass_binary_site https://npm.taobao.org/mirrors/node-sass