diff options
author | dizzy <diosmosis@users.noreply.github.com> | 2022-03-11 13:41:12 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-11 13:41:12 +0300 |
commit | 222f2d9bf1042e36ab52ce75cfe776dc29889386 (patch) | |
tree | 9a6b52f452e245b1a8b7a9211a6d2e698c7820b0 /plugins/Goals/vue/src/index.ts | |
parent | 130107669b8f3bb75d9439b56a93ca15eb6d8816 (diff) |
[Vue] migrate manage goals directive and twig templates to Vue (#18917)
* start converting goal form/edit from twig/angularjs
* more tweaks
* some more changes
* get to build
* fix typo in directive name causing strange regressions
* get to build and load in UI, twig postEvent hack seems to work
* another TODO
* implement alternative way to use twig events in vue components using named slots, does not work in all cases
* remove templates
* allow target=_blank in dompurify if noreferrer noopener are present
* Allow numbers for fieldcheckbox value.
* remove use of const in vanilla js
* get managegoals.vue to work + remove angularjs files
* correct camel case
* correct property name
* correct 0 check
* switch back to angularjs adapter and using dynamic components for twig events since piwik-manage-goals is selected for in plugins and because angularjs directives are sometimes pre-compiled, sometimes not
Diffstat (limited to 'plugins/Goals/vue/src/index.ts')
-rw-r--r-- | plugins/Goals/vue/src/index.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/Goals/vue/src/index.ts b/plugins/Goals/vue/src/index.ts index 5be8221004..a792651336 100644 --- a/plugins/Goals/vue/src/index.ts +++ b/plugins/Goals/vue/src/index.ts @@ -3,8 +3,10 @@ * * @link https://matomo.org * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later - */ +*/ import './GoalPageLink/GoalPageLink.adapter'; +import './ManageGoals/ManageGoals.adapter'; export { default as GoalPageLink } from './GoalPageLink/GoalPageLink.ts'; +export { default as ManageGoals } from './ManageGoals/ManageGoals.vue'; |