add-cms
This commit is contained in:
5
source/admin/packages/decap-cms/shims/cms.css
Normal file
5
source/admin/packages/decap-cms/shims/cms.css
Normal file
@@ -0,0 +1,5 @@
|
||||
/**
|
||||
* Decap CMS 2.0 moved from static CSS to CSS-in-JS. Some site builds are configured to look
|
||||
* for `cms.css`, and will break when it's missing, so we're putting out this blank file to help.
|
||||
* We'll eventually remove it, so please update your build to not require it.
|
||||
*/
|
||||
@@ -0,0 +1,3 @@
|
||||
console.warn(
|
||||
'You seem to be loading Decap CMS by fetching `dist/cms.js` from a CDN. That file is deprecated and will be removed in the next major release. Please use `dist/decap-cms.js` instead.',
|
||||
);
|
||||
Reference in New Issue
Block a user