MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Can I have multiple views?

    Scheduled Pinned Locked Moved General Discussion
    2 Posts 2 Posters 239 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F Offline
      flemmingss
      last edited by

      Hi.
      I am running MagicMirror in a docker container and use the serverOnly option.
      I access ny view by going to local address and port, http://10.0.24.10:8088/.
      Working good, but I want to have multiple views (like, different versions of config.js)
      I possible:
      http://10.0.24.10:8088/calendar/ = calender view
      http://10.0.24.10:8088/news/ = news

      is this possible somehow?I want to use the same port for all views

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @flemmingss
        last edited by sdetweil

        @flemmingss no. MagicMirror uses a designed called SPA, single page application.

        the data presented on this single page can change but it only serves one page. you can see the frame of that single page in the file index.html

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Sam, technical setup by Karsten.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy