image code snippets code example
Example 1: snippets iamge by cod
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@/*": ["src/*"]
}
}
}
Example 2: snippets iamge by cod
.icon {
background: url(~@/img/icon.png);
/* parse to path: ${rootDir}/src/img/icon.png */
/* and return snippets below */
}