当我将version: '3'
services:
couchdb:
image: "couchdb:2"
restart: always
ports:
- 5984:5984
volumes:
- ./data/couchdb:/opt/couchdb/etc/
- ./data/couchdb_config:/opt/couchdb/etc/local.d
environment:
- COUCHDB_USER=myuser
- COUCHDB_PASSWORD=mypassword
添加到div时,出现以下错误:
示例:
[cdkDragFreeDragPosition]
答案 0 :(得分:0)
您需要在NgModule中导入 DragDropModule 。之后,只有拖放才能起作用。请参考此链接以获取更多信息。 https://material.angular.io/cdk/drag-drop/overview