bootstrapvalidat cdn_BootstrapCDN

BootstrapCDN

Deploy your own copy on Heroku

Requirements

Running

Use npm run .

Development

npm install

npm test && npm run dev

Demonized

# start development server and watch for changes

npm run dev

# or

npm run watch

# start production server

npm start

# and more

npm run

Configuration

config/_app.yml

The Express.js app configuration.

port: Integer value of the Node application port.

theme: Integer value of the default theme we use; it's the array index value from the bootswatch4 section below.

siteurl: Our canonical URL.

authors: Array of author Objects. Accepts the following:name

twitter: the Twitter handler without @

url: author's website URL (optional)

work: (optional) Object which can contain:text: the text to show for the url bellow

url: the link to the work

description: String containing the default meta description of the site.

favicon: The path to favicon.ico.

stylesheet: Array of stylesheet file(s) we use apart from the Bootswatch stylesheet.

javascript: Array of javascript file(s) we use.

redirects: Array of Objects for the page redirects.

config/_extras.yml

Contains the /showcase/ and /integrations/ config we use in the Express.js app.

config/_files.yml

Contains the CDN files we host.The SRI values are updated by running npm run integrity.

config/helmet-csp.js

Updating Bootstrap/Bootlint/Bootswatch

Replace package by the package you want to update and version with its version in the following commands:

npm i package@version -ED

npm run package version

Update config/_config.yml accordingly

npm run integrity

Make sure npm run all passes after the files are on S3/CDN and verify the frontend works as expected without any visual breakage

Backers

Thank you to all our backers! ? [Become a backer]

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值