Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add frontend folder structure #27

Open
OlliTietavainenVaadin opened this issue Sep 25, 2018 · 1 comment
Open

add frontend folder structure #27

OlliTietavainenVaadin opened this issue Sep 25, 2018 · 1 comment

Comments

@OlliTietavainenVaadin
Copy link
Member

OlliTietavainenVaadin commented Sep 25, 2018

Making new template-based add-ons would be easier if there was a frontend folder already present in the file structure (perhaps with a helpful readme file like in the base starter).

This should go to resources/META-INF/resources/frontend

For development time, the Jetty plugin configuration should also have <resourceBase>${project.basedir}/src/main/resources/META-INF/resources</resourceBase>
in the webAppConfig

@eriklumme
Copy link

I believe if multiple resource bases are set, it should be set inside a resourceBases:

<resourceBases>
    <resourceBase>a</resourceBase>
    <resourceBase>b</resourceBase>
</resourceBases>

Otherwise the second overrides the first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants