System Information
- Strapi Version: 4.0.0
- Operating System: macOS 11.4
- Database: SQLite
- Node Version: 16.13.0
- NPM Version: 8.1…0
- Yarn Version: /
I am trying to create a custom Strapi admin panel. In order to do so I am following the steps documented in the Strapi docs: Documentation.
I update my app.js file located inside the /src/admin folder. I use the "Example of a custom configuration for the admin panel’ from the documentation and do some small alterations (see at the bottom of this question).
But when I reload the admin panel then nothing has changed. I can still only choose French and English as the language and the colors stay the same. Even tough I have added German as a language and have changed the colors.
In order to deploy the server I use the ‘npm run develop’ command. I have tried to use the ‘strapi develop’ command but then I get the following error: “You need to run strapi develop in a Strapi project. Make sure you are in the right directory”. Even tough I am inside the main folder of the project “my-app/”.
export default {
config: {
// Replace the Strapi logo in auth (login) views
auth: {
},
// Replace the favicon
head: {
},
// Add a new locale, other than 'en'
locales: ['fr', 'de'],
// Replace the Strapi logo in the main navigation
menu: {
},
// Override or extend the theme
theme: {
colors: {
alternative100: '#f6ecfc',
alternative200: '#e0c1f4',
alternative500: '#ac73e6',
alternative600: '#9736e8',
alternative700: '#8312d1',
danger700: '#b72b1a'
},
},
// Extend the translations
translations: {
fr: {
'Auth.form.email.label': 'test',
Users: 'Utilisateurs',
City: 'CITY (FRENCH)',
// Customize the label of the Content Manager table.
Id: 'ID french',
},
},
// Disable video tutorials
tutorials: false,
// Disable notifications about new Strapi releases
notifications: { release: false },
},
bootstrap() { },
};