[SOLVED] Using setupSFC with unplugin-vue-router and vite-plugin-vue-layouts #221
Unanswered
angelhdzmultimedia
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried to do some parsing in the extendRoutes method of the
vue-router/auto
router's configuration object before returningsetupLayouts
with the routes, but because the pages names have*.setup.tsx,
there's some conflict to load them.So any guide how to auto import routes/layouts along with setupSFC macro?
I love where this is heading to!
Nice touch of eliminating the need of HTML tags for the SFCs.
Now it's pure JS/TS/TSX!!!
Solved
JohnCampionJr/vite-plugin-vue-layouts#96
Beta Was this translation helpful? Give feedback.
All reactions