我有一个使用Bootstrap的网站,目前我技术上正在使用Bootstrap 4。我想在页面的公开部分利用加速移动页面(AMP)。但是,我有一些错误似乎无法解决。这让我想知道,我能否在加速移动页面中使用Bootstrap?我能否在加速移动页面中使用JavaScript?Bootstrap在移动电话上的汉堡菜单需要JavaScript。然而,当我运行验证器时,我看到了像这样的错误:
The attribute 'href' in tag 'link rel=stylesheet for fonts' is set to the invalid value 'https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.2/css/bootstrap.min.css'.
The attribute 'rel' in tag 'link rel=' is set to the invalid value
The tag 'script' is disallowed except in specific forms.
那么,回到我的问题。是否有可能拥有一个使用加速移动页面的Bootstrap 4网站?
谢谢!