question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

A3: Admin UI is not overridden when placed inside modules folder

See original GitHub issue

Hello, my assumption was that anything placed inside the modules folder would overwrite the core files. I am trying to make some changes to the Admin UI by having a modified file here: modules/@apostrophecms/ui/ui/apos/components/AposContextMenu.vue. However, the changes are not appearing on the site. Any ideas?

I am using the latest Apostrophe version 3.14.2.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
boutellcommented, Mar 3, 2022

Supporting nodemon is why we have the flag to rebuild at restart in dev, but rebuilding the admin UI takes a long time and only a small fraction of developers need it, and those developers rarely need it all the time. So there is an environment variable to add that additional work to the rebuild of ui/src (public facing CSS and JS) that always happens.

0reactions
stepanjaklcommented, Mar 3, 2022

I might have had the flag set for the wrong script, ups! Anyway, shouldn’t running the app again (no nodemon) rebuild the admin UI nonetheless?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to override a module's admin controller in Prestashop ...
I created the override folder using the path modules/mymodule/override/modules/marketplace/controllers/admin/AdminSellerProductDetailController.
Read more >
A3: How to override styles for UI? · Discussion #3766 - GitHub
You can solve that by placing them in a ui/apos/variable-overrides.scss file of one of your modules. Then, because the apos build does not...
Read more >
Overriding files does not work at all - WordPress.org
I have added files to override in the proper structure as mentioned here, still it does not work and does not override
Read more >
Magento2 override module-ui base admin template file?
To override the template you just need to create Magento_Ui directory in your theme folder and place file in that folder.
Read more >
Customizing the Apostrophe Admin UI - ApostropheCMS
This guide focuses on how to customize Apostrophe's admin UI for those instances a user may want to add or change functionality.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found