File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77import { defineClientConfig } from 'vuepress/client' ;
88import AsciinemaPlayer from './components/AsciinemaPlayer.vue' ;
99import BlogPosts from './components/BlogPosts.vue' ;
10+ import ExperimentalOption from './components/ExperimentalOption.vue' ;
1011import JumpToc from './components/JumpToc.vue' ;
1112import PrBy from './components/PrBy.vue' ;
1213import ReleaseToc from './components/ReleaseToc.vue' ;
@@ -15,6 +16,7 @@ export default defineClientConfig({
1516 enhance ( { app } ) {
1617 app . component ( 'AsciinemaPlayer' , AsciinemaPlayer ) ;
1718 app . component ( 'BlogPosts' , BlogPosts ) ;
19+ app . component ( 'ExperimentalOption' , ExperimentalOption ) ;
1820 app . component ( 'JumpToc' , JumpToc ) ;
1921 app . component ( 'PrBy' , PrBy ) ;
2022 app . component ( 'ReleaseToc' , ReleaseToc ) ;
Original file line number Diff line number Diff line change 1+ <template >
2+ <div class =" hint-container important" >
3+ <p class =" hint-container-title" >Experimental option</p >
4+ <p >
5+ This feature is behind an experimental option. Run Nushell with
6+ <code >--experimental-option={{ option }}</code > or set before running
7+ Nushell the environment variable to
8+ <code >NU_EXPERIMENTAL_OPTIONS={{ option }}</code
9+ >.
10+ </p >
11+ </div >
12+ </template >
13+
14+ <style scoped>
15+ code {
16+ white-space : nowrap ;
17+ }
18+ </style >
19+
20+ <script setup lang="ts">
21+ const { option } = defineProps ({
22+ option: {
23+ type: String ,
24+ required: true ,
25+ },
26+ });
27+ </script >
You can’t perform that action at this time.
0 commit comments