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
    1. Home
    2. iamike
    • Profile
    • Following 0
    • Followers 0
    • Topics 6
    • Posts 9
    • Best 0
    • Groups 0

    iamike

    @iamike

    0
    Reputation
    15
    Profile views
    9
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    iamike Follow

    Latest posts made by iamike

    • Idea for access node running environment variables at SSR Mode without building

      Hi,
      currently, I am using ssr mode for developing my project.
      and each time when some environment variables need update.
      The Jenkins pipeline will involve the building process for the changes.
      sometime even for some little tiny changes, like change api host address.
      because we set the api env at quasar.conf.js build block. like below:

      ...
          build: {
            env: {
      java_api_host:JSON.stringify(process.env.JAVA_API_HOST)
            },
      ...
      

      so,

      when we using some container tools like docker.

      some time you just can bring the ENV params into the built package. because it is already generated content,
      if you check the /dist/ssr/www/js/app.xxxxx.js
      f71fa0c5-6515-4e7a-9106-79dc6a2e2b23-image.png
      so there is no way for me to bring those env variables directly to the ssr dist files, it’s won’t work.
      fa1784ef-cfc9-4222-9cb9-f8499cf568f9-image.png

      is there any solution that for me to optimize this issue?

      appreciate.

      posted in Help
      iamike
      iamike
    • horizon scroll bar effect

      How can I have the similar effect as this Nintendo website:
      屏幕快照 2019-07-07 上午9.54.12.jpg

      posted in Help
      iamike
      iamike
    • breadcrumb wrapped to next line

      how can I avoid this thing happen, I just want it can ellipsis to one line.
      屏幕快照 2019-07-03 下午9.25.12.png

      posted in Help
      iamike
      iamike
    • 【SEO & SSR】How can I reduce the <style data-vue-ssr-id ... like tag

      currently I am using ssr mode to rendering the website.
      The SEO require that the <head> part need to be as neat as possible, because the search engine crawler has budget, if one page has exceed 200k, for example, it will stop to crawling rest content, which is not we expected, so, How can I reduce these annoy inline style tag? any solution to this?
      屏幕快照-2019-07-01-下午9.43.05.jpg

      posted in Help
      iamike
      iamike
    • how to get port value from preFetch ssrContext

      I want redirect the user to a specific domain if he is not using correct protocol
      for example:

      if (ssrContext.req.headers.host=='hexin-medical.net'||ssrContext.req.headers.host=='hexin-medical.com'){
              redirect('https://www.hexin-medical.net')
            }
      

      Thanks

      posted in Help
      iamike
      iamike
    • RE: How can I add custom static folder or additional 'static' like path

      currently I manually add this line at build out file index.js located in ssr/server/index.js
      屏幕快照 2019-05-06 下午5.09.55.png
      and it looks ok, so, in another word, can I set this customize config at quasar.con.js?
      屏幕快照 2019-05-06 下午5.12.43.png

      posted in Help
      iamike
      iamike
    • RE: How can I add custom static folder or additional 'static' like path

      @s-molinari Hi molinari, thank you for your reply, you are correct, it’s absolutely nothing to do with Quasar,
      I just want to have an additional different path, that would do the same job as ‘/statics’ path, can I doing this by extending the webpack config file? Thanks
      1557132018457.jpg

      posted in Help
      iamike
      iamike
    • How can I add custom static folder or additional 'static' like path

      example:
      currently, we have already got ‘statics’ folder,
      but some API website specifically request need put some verify file in root folder or specific path.

      屏幕快照 2019-05-06 上午10.54.09.png

      please advise what’s the best practice to make this. Appreciate in advance

      posted in Help
      iamike
      iamike