我想调整我的网站,并找到一个很好的动画包,只有在屏幕上开始查看。安装必须使用节点npm。我是新手,做不到这件事。请帮帮忙
软件包网站是:
安装时收到的错误消息是:
C:\Users\sam>npm install aos --save
npm WARN saveError ENOENT: no such file or directory, open 'C:\Users\sam\package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm
这个周末我一直在尝试部署我的网站,因此一直在干预设置。这样做的一个令人不快的惊喜是,我的静态文件似乎已经停止在我的网站上工作。我的CSS文件和javascript文件不再工作了,就好像站点找不到它们一样。我唯一记得的关于静态文件的事情就是将这个插入到settings.py中:
# The absolute path to the directory where collectstatic will collect static files for deployment.
STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')
#