Jul 31, 2019
0
Level 6
Serve CSS and JSS for other folders
Here is how my app works. I am looking to get a bit of ideas on how I would be able to get this done.
This script just create site, much like wix but with amp functions. Since most of the sites are static it makes no sense to use a database and I would like to not use any blade to generate views.
The script has a /admin panel, when a user creates a site, the script will dump the generated site in /public folder. This folder get deleted and generated with every revision.
The questions:
- Can I serve CSS and JSS for admin from another folder other than /public ?
- I am guessing in order to run the index.html from /public i just do not create a / get route. unless there is a way that I am not aware of.
Thank you
Please or to participate in this conversation.