No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    why can't import component instead of modify config

    Framework
    3
    3
    878
    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.
    • S
      skybreak last edited by

      Quasar is so alwsome ! But I have some confusions on it.
      For many frameworks , we can use them just “import [component name]” to reference them, why we have to modify the config file to make the components available?
      And for the demos on http://quasar-framework.org/components/ , I think if we can view and modify the source code on the virtual phone it will be much nicer than going to github.

      1 Reply Last reply Reply Quote 0
      • a47ae
        a47ae last edited by

        It is to simplify the build setup. You can totally import them (thats what the config is doing in the background).
        But any reason why you want to import them?

        Modifying the source on the showcase is currently not possible because it would require a build step.
        But you can try stuff on JSFiddle: https://jsfiddle.net/rstoenescu/waugrryy/

        1 Reply Last reply Reply Quote 0
        • V
          vinstah last edited by

          you can import all components in the config for development and run a terminal command to find components you have used in your project that way you can add them after dev has done

          1 Reply Last reply Reply Quote 0
          • First post
            Last post