I have a couple of CSS frameworks stored in the assets folder of my project, I previously had them in the static folder and everything was working fine. However, I decided to switch over some files from the static to the assets folder, and I'm having trouble linking the stylesheet.
Inside the assets folder, there's a folder called "css", in which I store all the frameworks.
My goal is to link the frameworks to the components that depend on them, in the components folder. Previously, as mentioned, the stylesheets were in the static folder and worked fine.
However, every attempt I have made so far results in the "/* style not found */" page. The images, which are in the assets folder as well, inside a folder called "img", work fine.
I have attempted using the following links for the css:
"~/assets/css/materialize.css"
"~assets/css/materialize.css"
"@/assets/css/materialize.css"
"@assets/css/materialize.css"
"assets/css/materialize.css"
"/assets/css/materialize.css"
"css/materialize.css" (That's what I used to link when using the static folder)
Every attempt resulted in the same "/* style not found */" page, by following the link in the source code.
Here's the component's head:
head:{
link:[
{
rel:'stylesheet',
type:'text/css',
href:'~assets/css/materialize.css'
}
]
}