Skip to content

Question - why static asset logo.png is in the src/assets folder instead of static folder #106

@genyded

Description

@genyded

I was going to open an SO question for this, but this really is specific to this repo. I am only a few hours into using Vue (and so far am loving it) and was wondering if there is a reason or difference in placing assets such as images in the src folder versus the static folder? Most examples I have seen have thing like logo.png in the static folder (maybe under a sub-folder). This one has logo.png in the src/assets folder. Is there a reason behind that or does it really matter as long as it's imported from the correct place?

AKA - does Vue or webpack treat these any based in where they are located between static or src? Just want to be sure before I shoot myself in the foot over something as simple as app structure.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions