Usage of resources path in outputed CSS #30
JONMARSHALDEV
started this conversation in
General
Replies: 4 comments 2 replies
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
If you need, you can specify the |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
What problem do you have with hello-world? |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
I have updated the examples. Start local app in browserBuild to
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hi, i'm stuck in a problem, ..trying build those examples... "hello-world"..:
1.
in output css "urls" without quotes in production mode:
@font-face { font-family: "Material Icons"; src: url(/assets/fonts/material-icons.woff2) format("woff2"), url(/assets/fonts/material-icons.woff) format("woff"); ... }.header { background-image: url(/assets/img/header.4fe56ae8.png); ... }is it possible to get something like:
background-image: url("/assets/img/header.4fe56ae8.png");background-image: url("~Images/about-logo.png");filename: 'assets/img/[name].[hash:8][ext]',-- when project builds,
in css path specified as:
background-image: url(assets/img/about-logo.0b88ec0f.png);--but it must be like:
background-image: url(../img/about-logo.0b88ec0f.png);and quotes... missing...
i'm using windows 10 x64
latest pug-plugin, webpack, chrome Browser
br, John
Beta Was this translation helpful? Give feedback.
All reactions