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

    Where in the dir structure should a helper module go?

    Help
    2
    3
    49
    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.
    • R
      r03ert0 last edited by

      Hello,
      I’m building an app which does some data analysis. The data analysis code is encapsulated in a module. Where should that module file go? Not boot because it doesn’t need to be executed at the beginning; not component because it doesn’t show up in the screen; should it go to statics even if it’s not an image? Or should it just be placed like /src/my_module.js?

      thank you!

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

        @r03ert0 you can make helpers folder or whatever name you want and make an alias for it https://quasar.dev/quasar-cli/cli-documentation/handling-webpack#Adding-Webpack-aliases.

        1 Reply Last reply Reply Quote 0
        • R
          r03ert0 last edited by

          thank you! 🙏

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