StartBootstrap Clean Blog 项目教程

StartBootstrap Clean Blog 项目教程

startbootstrap-clean-blog项目地址:https://gitcode.com/gh_mirrors/sta/startbootstrap-clean-blog

1. 项目的目录结构及介绍

startbootstrap-clean-blog/
├── dist/
│   ├── css/
│   ├── js/
│   └── index.html
├── src/
│   ├── css/
│   ├── js/
│   ├── scss/
│   └── index.html
├── .gitignore
├── LICENSE
├── README.md
├── package-lock.json
└── package.json
  • dist/: 编译后的文件目录,包含最终的CSS、JS和HTML文件。
  • src/: 源文件目录,包含开发中的CSS、JS、SCSS和HTML文件。
  • .gitignore: Git忽略文件配置。
  • LICENSE: 项目许可证文件。
  • README.md: 项目说明文档。
  • package-lock.json: npm依赖锁定文件。
  • package.json: 项目依赖和脚本配置文件。

2. 项目的启动文件介绍

项目的启动文件主要是index.html,位于dist/src/目录下。

  • dist/index.html: 编译后的HTML文件,用于生产环境。
  • src/index.html: 开发中的HTML文件,包含未编译的资源引用。

3. 项目的配置文件介绍

  • package.json: 包含项目的依赖、脚本和其他配置信息。
{
  "name": "startbootstrap-clean-blog",
  "version": "5.0.10",
  "description": "Clean Blog is a stylish, responsive blog theme for Bootstrap created by Start Bootstrap.",
  "keywords": [
    "css",
    "html",
    "responsive",
    "theme",
    "bootstrap"
  ],
  "homepage": "https://startbootstrap.com/theme/clean-blog",
  "bugs": {
    "url": "https://github.com/StartBootstrap/startbootstrap-clean-blog/issues",
    "email": "feedback@startbootstrap.com"
  },
  "license": "MIT",
  "author": "Start Bootstrap",
  "contributors": [
    "David Miller (http://davidmiller.io/)"
  ],
  "repository": {
    "type": "git",
    "url": "https://github.com/StartBootstrap/startbootstrap-clean-blog.git"
  },
  "dependencies": {
    "bootstrap": "5.1.3"
  },
  "devDependencies": {
    "autoprefixer": "10.4.0",
    "browser-sync": "2.27.5",
    "chokidar": "3.5.2",
    "concurrently": "6.3.0",
    "postcss": "8.3.11",
    "prettier": "2.4.1",
    "pug": "3.0.2",
    "sass": "1.43.4",
    "shelljs": "0.8.4",
    "upath": "2.0.1"
  },
  "scripts": {
    "start": "npm run watch:all",
    "build": "npm run clean && npm run build:pug && npm run build:scss && npm run build:scripts && npm run build:assets",
    "deploy": "npm run build && gh-pages -d dist",
    "clean": "rimraf dist",
    "build:pug": "pug src -o dist -P",
    "build:scss": "sass src/scss/styles.scss dist/css/styles.css && postcss dist/css/styles.css --use autoprefixer -r",
    "build:scripts": "node scripts/build-scripts.js",
    "build:assets": "node scripts/build-assets.js",
    "watch:pug": "chokidar 'src/**/*.pug' -c 'npm run build:pug'",
    "watch:scss": "chokidar 'src/**/*.scss' -c 'npm run build:scss'",
    "watch:scripts": "chokidar 'src/**/*.js' -c 'npm run build:scripts'",
    "watch:assets": "chokidar 'src/assets/**/*' -c 'npm run build:assets'",
    "watch:all

startbootstrap-clean-blog项目地址:https://gitcode.com/gh_mirrors/sta/startbootstrap-clean-blog

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

郁俪晟Gertrude

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值