Background in Layout
-
how to put a background image in the layout
like the sap hanna IDEThanks in advance
-
With a gradient?
Scott
-
@s-molinari yes
-
Then you add it as the background to your layout… This is basic web dev stuff. Nothing to do with Quasar.
Scott
-
-
@eloy-silva said in Background in Layout:
for this reason was the question
the path of this image is in the folder in static, here it is only to put the example
-
I have no idea what you are doing. Sorry.
But, this is sort of how it can work.
https://codesandbox.io/s/awesome-golick-tnfjt?file=/src/pages/Index.vue
Scott
-
@s-molinari
Thanks -
@eloy-silva
images
is a folder you have created so is not in the webpack aliases. You can resolve this by doing the following: 1) use relative path, or 2) in build section of quasar.conf.js:chainWebpack (chain) { chain.resolve.alias.merge({ images: path.resolve(__dirname, './src/images') }) }