【文件属性】:
文件名称:angular2_photoswipe:angular2 PhotoSwipe组件
文件大小:189KB
文件格式:ZIP
更新时间:2021-05-17 08:37:51
gallery angular angular2 lightbox photoswipe
适用于Angular 2+的PhotoSwipe
该项目是使用版本6.2.4生成的。
这是一个库,其中包含PhotoSwipe的组件和服务。 仍然需要官方的PhotoSwipe JS文件。
该库支持SSR。 (已使用测试)
安装
安装NPM软件包
npm install --save photoswipe
npm install --save angular2_photoswipe
在angular.json中添加资产
" projects " : {
" your-app-name " : {
" architect " : {
" build " : {
" assets " : [
// add this from here
{
" glob " : " **/*.@(s
【文件预览】:
angular2_photoswipe-master
----.gitignore(518B)
----projects()
--------angular2_photoswipe()
----e2e()
--------src()
--------tsconfig.e2e.json(218B)
--------protractor.conf.js(752B)
----package.json(2KB)
----tslint.json(3KB)
----package-lock.json(592KB)
----src()
--------app()
--------tslint.json(314B)
--------karma.conf.js(964B)
--------assets()
--------tsconfig.spec.json(261B)
--------main.ts(373B)
--------.browserslistrc(388B)
--------test.ts(642B)
--------tsconfig.app.json(209B)
--------environments()
--------index.html(309B)
--------favicon.ico(5KB)
--------styles.css(80B)
--------polyfills.ts(1KB)
----LICENSE(1KB)
----tsconfig.json(645B)
----.github()
--------main.workflow(696B)
----angular.json(5KB)
----README.md(5KB)
----main.workflow(212B)
----tsconfig.base.json(609B)
----.npmignore(511B)