docs: Convert all file imports to ES modules

This commit is contained in:
Faruk AYDIN
2024-01-15 13:10:26 +01:00
parent b304acaaba
commit 9ece9461dc
5 changed files with 21 additions and 21 deletions

View File

@@ -37,7 +37,7 @@ touch index.js
Then let's define the app inside of the `index.js` file as follows:
```javascript
import defineApp from '../../helpers/define-app';
import defineApp from '../../helpers/define-app.js';
export default defineApp({
name: 'The cat API',