Comments (3)
can you please upload a working reproduction of this to some public repo so I can try to experience this myself?
from loco.
Thanks for looking into this!
Please find a working example at this repo.
My steps:
- create a new loco project from the SaaS app template
- create "home" controller, view and asset for landing page
- add the new route to app.rs
Double checked it, the lightweight template doesn't have the same problem.
from loco.
Got it working with the following steps
Step 1: use AppRoutes::empty() instead of AppRoutes::with_default_routes() in app.rs
Step 2: in development.yml change the static folder uri to something else then "/" -> "/assets"
from loco.
Related Issues (20)
- Response does not included body content from loco::Error::BadRequest, loco::Error::Message and more HOT 5
- loco new create project git error HOT 5
- docs: typo and formatting mistakes
- Multitenancy HOT 3
- Cargo tests fails without features option
- Create default initializers HOT 1
- Unable to compile Saas template generated from Cli HOT 2
- text! not found HOT 1
- Generate scaffold not create relationship id in controler HOT 1
- Allow adding Tower layer (middleware) adding to Loco Route. HOT 2
- SeaORM SQLite types are now non lossy HOT 3
- Add ARCHITECTURE.md to generated templates HOT 1
- Replace Redis with Valkey (or other alternatives) HOT 2
- Extensibility of AppContext HOT 3
- Cron/Scheduler support? HOT 6
- Adding `ilike` to model query dsl HOT 4
- docs: build a "rosetta stone" for frameworks vs "how its done in Loco"
- loco-cli doesn't have the subcommand "generate" HOT 2
- Plural naming system doesn't work for atypical plurals HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from loco.