middlebury/midd-frontend
Composer 安装命令:
composer require middlebury/midd-frontend
包简介
Middlebury College's theme assets.
README 文档
README
Frontend code for middlebury_theme
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
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2024-05-22