Giter Site home page Giter Site logo

Comments (2)

pettijohn avatar pettijohn commented on August 22, 2024

I'm trying to build this but I have never worked with Angular so struggling to get some fundamentals going. I was able to add a tag icon to the search bar and a new route /tags. I created a new component/controller app-tagbrowser. I can't figure out how to get my component to render.

.when(`${RoutePath.TagBrowser}`, {
          controller: 'SyncEnabledController',
          controllerAs: 'vm',
          template: require('./app-tagbrowser/app-tagbrowser.controller.html')
          // template: require('./app-bookmark/app-bookmark.controller.html')
        })

Clicking the new tag icon brings up a new window with app/app-tagbrowser/app-tagbrowser.controller.html; I don't understand how in other cases that then maps to load the contents of the *-component.html file. I assume there's a mapping somewhere. When I uncomment the line above I see the contents of app-bookmark.component.html when I click on the new tag icon. So I have routing working and partially loading my control; I assume I'm missing some kind of mapping but reading over the code I can't figure it out.

Code is here, on tag-browser branch of my fork https://github.com/pettijohn/xbrowsersync-app/commits/tag-browser

@nero120 wonder if you can help give me a push in the right direction?

from app.

pettijohn avatar pettijohn commented on August 22, 2024

I migrated to Linkding, closing.

from app.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.