Ckeditor5: Create react app 1 guide is outdated

Created on 18 Sep 2020  路  4Comments  路  Source: ckeditor/ckeditor5

馃摑 Provide a description of requested docs changes

Currently if you go to create-react-app@1 integration guide and try to follow the steps, you don't get the described results.
package.json does not include any scripts, so you cannot npm run eject. Even if you try to run it with node_modules/.bin/react-scripts eject it ends with an error and the project does not contain the files that are described in the guide.

integrations docs

Most helpful comment

The last release of version 1.x is 3 years ago, and 2.x was released over 2 years ago.

Dropping 1.x seems reasonable. In the worst case, we can forward people to https://ckeditor.com/docs/ckeditor5/15.0.0/

All 4 comments

Perhaps we could replace the info about ejecting with something like:

If you already have your configuration ejected, you can do this... If not, you will need to upgrade CRA as apparently the eject command was removed.

I am for removing the whole section about CRA@1 and UglifyJs (provided by the CRA@1). As for now, we have 4 different versions of the same script, and keeping all docs up-to-date becomes a time-consuming task.

I'd keep documentation for the latest and the previous major versions.

If somebody uses older versions (that most probably aren't supported by CRA anymore), we could recommend an upgrade to (at least) supported/maintained version.

The last release of version 1.x is 3 years ago, and 2.x was released over 2 years ago.

Dropping 1.x seems reasonable. In the worst case, we can forward people to https://ckeditor.com/docs/ckeditor5/15.0.0/

The same problem occurs with CRA@2. As for now, you cannot create a new app using this version:

A template was not provided. This is likely because you're using an outdated version of create-react-app.

image

image

Works fine for CRA@3.

image

Was this page helpful?
0 / 5 - 0 ratings

Related issues

oleq picture oleq  路  3Comments

hamenon picture hamenon  路  3Comments

oleq picture oleq  路  3Comments

pjasiun picture pjasiun  路  3Comments

MCMicS picture MCMicS  路  3Comments