List of Maidsafe Apps' repositories?

I’m posting a thread here hoping to see some vuejs/safe-node projects pop up, which I can ste… *ahem* learn from.

Here’s my first safenetwork webwidget (aka web app) repository:

https://gitlab.com/EuropeanBasics/guestbook

8 Likes

Looking at the 3rd issue, the way you’re importing CounterModel.js and CounterController.js, it’s expected that those two file export a default object.
Look again at output:

WARNING  Compiled with 3 warnings                                                                                                                                                    06:35:49

 warning  in ./src/App.vue?vue&type=script&lang=js&

"export 'default' (imported as 'counter') was not found in './api/CounterModel'

 warning  in ./src/components/guestbook/Guestbook.vue?vue&type=script&lang=js&

"export 'default' (imported as 'counterController') was not found in '../../api/CounterController'

 warning  in ./src/components/guestbook/Guestbook.vue?vue&type=script&lang=js&

"export 'default' (imported as 'counterController') was not found in '../../api/CounterController'

So instead of:

module.exports = {
  initiateCounter
}

Use:

export default {
    initiateCounter
};
1 Like