定制 middlebury/midd-frontend 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

middlebury/midd-frontend

Composer 安装命令:

composer require middlebury/midd-frontend

包简介

Middlebury College's theme assets.

README 文档

README

Frontend code for middlebury_theme

CI

Requirements

  • Node ^24.14.1

To check if you already have node installed, open terminal and use the following command:

node -v

Getting started

Clone the repo to a local machine, using your preferred method.

SAW is not used to work in this repo due to conflict with SAW and how node works.

Open terminal and change directory into the cloned local repo.

Install node modules:

npm install

You may be asked to fix dependencies, go ahead and do that.

Development

Run local browser sync server and watch files:

npm start

Build for production

npm run build

Changing output path

For development on saw.middlebury.edu, you can build assets to a desired Drupal theme directory by creating an .env file in the root directory of this repo.

THEME_DIR="../your/path/to/d8/web/themes/custom/middlebury_theme/"

Now when you run npm run build or npm run dev, assets will be output to that directory.

统计信息

  • 总下载量: 13.13k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 4
  • Forks: 0
  • 开发语言: Twig

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2024-05-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固