Conversation
package.json
Outdated
| "pinia": "^3.0.4", | ||
| "sortablejs": "^1.15.7", | ||
| "vue": "^3.5.27", | ||
| "vue-web-component-wrapper": "^1.7.7", |
There was a problem hiding this comment.
Not needed anymore with Vue 3, Vue now has the native defineCustomElement method.
susnux
left a comment
There was a problem hiding this comment.
thank you for taking care of this :)
| $this->initialState->provideInitialState('activityEnabled', $this->appManager->isEnabledForUser('activity')); | ||
| // Add comments sidebar tab script | ||
| // Add comments sidebar tab script/style | ||
| Util::addStyle(Application::APP_ID, 'comments-tab', 'files'); |
There was a problem hiding this comment.
| Util::addStyle(Application::APP_ID, 'comments-tab', 'files'); | |
| Util::addStyle(Application::APP_ID, 'comments-tab'); |
styles do not have an order like scripts :)
| Vue.use(PiniaVuePlugin) | ||
| import logger from '../logger.ts' | ||
|
|
||
| __webpack_nonce__ = getCSPNonce() |
There was a problem hiding this comment.
Not needed with vite anymore
Fix for this: #58505 |
a3c227e to
560576f
Compare
|
^ rebased to see if #58505 fixed it. |
Signed-off-by: Edward Ly <contact@edward.ly>
Signed-off-by: Edward Ly <contact@edward.ly>
560576f to
80613d8
Compare
It looks like that did the trick. All suggestions so far have now been applied as well. Although, I am currently seeing this in the comments tab, and I'm not sure how to fix it. I'm guessing it has something to do with the fact the
|
Signed-off-by: Edward Ly <contact@edward.ly>
80613d8 to
5ffc49b
Compare

Summary
TODO
Currently,
npm run dev/buildfails with this error. I suspect it has something to do with theCommentInstanceclass requiring a Vue 2 options object which I'm not yet sure how to cleanly migrate to Vue 3.Checklist
3. to review, feature component)stable32)