Describe the bug
When creating a new project with flect v0.2.8 either via the cookiecutter or by hand, styles are not loaded as the flect v0.2.8 package does not exist on npm
To Reproduce
Create a new flect project via cookiecutter template for example
rye sync
make dev
Go to http://127.0.0.1:8000
Confirm styles are missing
Expected behavior
Expect styles to load from flect npm package
Screenshots
Desktop (please complete the following information):
OS: Linux
Browser Chrome
Version 123.0.6312.58
Additional context
Workaround for now, change line 18 of flect/render.py to FLECT_PREBUILT_URI = "https://unpkg.com/@chaoying/flect-prebuilt@0.2.7/dist/assets" which is the latest version available on NPM
Thanks for reporting this! You're right, flect v0.2.8 hasn't been published to npm yet. I'll upload it soon. Your workaround is a good temporary solution.
Describe the bug When creating a new project with flect v0.2.8 either via the cookiecutter or by hand, styles are not loaded as the flect v0.2.8 package does not exist on npm
To Reproduce
http://127.0.0.1:8000
Expected behavior Expect styles to load from flect npm package
Screenshots
Desktop (please complete the following information):
Additional context Workaround for now, change line 18 of
flect/render.py
toFLECT_PREBUILT_URI = "https://unpkg.com/@chaoying/flect-prebuilt@0.2.7/dist/assets"
which is the latest version available on NPM