Comments (4)
Note: the only way i know of to do this atm is to put this into a Markdown file:
<route lang="yaml">
meta:
layout: 404
</route>
This shifts it but is quite awkward for Markdown ... absolutely fine for VueJS based pages.
from vite-plugin-vue-layouts.
Note: i had Anthony approve a PR on vite-plugin-md
which opens this a bit (quite indirectly) and hope to have another much bigger PR on vite-plugin-md
soon which makes this more explicit.
from vite-plugin-vue-layouts.
@yankeeinlondon hi! Has the layout of MD been supported? In my current situation, even if the layout is set, it is still the default layout!As follows, it was actually Deault
from vite-plugin-vue-layouts.
If anyone needs this and wants to do a PR, I'd be happy to review. I don't want to add any dependencies to this package
from vite-plugin-vue-layouts.
Related Issues (20)
- MODULE_ID_VIRTUAL need start '\0' HOT 3
- How to set up without requiring layout HOT 5
- unable to work with `unplugin-vue-router/vite` HOT 5
- default layout not processed when using sub folder without a layout HOT 7
- Routing nesting problem HOT 2
- Nested page render the default layout even set to another layout HOT 2
- The routing nesting problem is still unresolved HOT 5
- Why are ['node_modules', '**/__*__/*'] excluded by default? HOT 7
- Does Named Views support? HOT 1
- File changes in version 0.11.0 do not trigger hot updates of vite (vite5.0.11) HOT 5
- Params route inherit default layout HOT 3
- Nested Pages (unplugin-vue-router) nest the layout pages HOT 3
- It seems doesn't work will with .jsx file. HOT 1
- HMR does not works when work with `unplugin-vue-router` HOT 1
- Not working with nested pages HOT 4
- Empty file route should not generate layout HOT 1
- [Feature Request] Allow `defaultLayout` accept a function
- Nested Pages - disable Layout HOT 1
- Can support dir layout component?
- does it support vue 2.7 with vite ? HOT 1
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 vite-plugin-vue-layouts.