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 package.json to static content directory #6

Open
dr-edmond-merkle opened this issue Nov 4, 2019 · 1 comment
Open

Add package.json to static content directory #6

dr-edmond-merkle opened this issue Nov 4, 2019 · 1 comment

Comments

@dr-edmond-merkle
Copy link
Contributor

I believe that we would prefer to have the javascript dependencies for the framework managed by npm rather than to have the manually added to the repository.

I have found a couple different implementation perspectives:

https://stackoverflow.com/questions/24514936/how-can-i-serve-npm-packages-using-flaskhttps://itnext.io/a-template-for-creating-a-full-stack-web-application-with-flask-npm-webpack-and-reactjs-be2294b111bd
2.
https://flask-webpackext.readthedocs.io/en/latest/usage.html

I think next steps are to init npm / package.json in the static directory of the project, and move all the *.js dependencies there.

@dr-edmond-merkle
Copy link
Contributor Author

Also, an interesting perspective on repository structure from a node perspective
https://medium.com/@iaacek/vue-js-node-js-project-structure-51c27211ed2d

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

No branches or pull requests

1 participant