I just tested it and found that using django's server as the development server, turn off the reboost contentServer setting, and then set ['./src/main.js','./static/dist/main.js'],, then Mapping django's /staic url to the static local folder is more convenient.
My purpose in doing this is to make full use of the functions of the server-side framework, especially routing, templates, sessions, authentication, etc., and to combine the functions of various front-end languages and frameworks.
very good, I feel that reboost should be a robust HMR server.
Yes, Reboost is basically a proxy server, which enables Hot Reloading and imports in your modules for development and doesn't handle the production side (for now).
I just tested it and found that using django's server as the development server, turn off the reboost contentServer setting, and then set
['./src/main.js','./static/dist/main.js'],
, then Mapping django's/staic
url to the static local folder is more convenient.What are the advantages of reboost over snowpack?
django + reboost + (svelte + vue + ...) caddy + reboost + (svelte + vue + ...)
Easy to use and quick to get started.
My purpose in doing this is to make full use of the functions of the server-side framework, especially routing, templates, sessions, authentication, etc., and to combine the functions of various front-end languages and frameworks.
very good, I feel that reboost should be a robust HMR server.
django template
home.html
django views.py