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

    How to chang the default source code path from `/src` to something else?

    CLI
    1
    2
    573
    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.
    • B
      beeplin last edited by

      for both dev server and build?

      1 Reply Last reply Reply Quote 0
      • B
        beeplin last edited by

        I found in quasar-cli/lib/build/app-path.js:

        const
          appDir = getAppDir(),
          cliDir = resolve(__dirname, '../..'),
          srcDir = resolve(appDir, 'src'),
          pwaDir = resolve(appDir, 'src-pwa'),
          cordovaDir = resolve(appDir, 'src-cordova'),
          electronDir = resolve(appDir, 'src-electron')
        

        Does this mean the src path cannot be changed?

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