|
| 1 | +import Playground from '@site/src/components/global/Playground'; |
| 2 | + |
| 3 | +import javascript from './javascript.md'; |
| 4 | + |
| 5 | +import angular_app_module_ts from './angular/app_module_ts.md'; |
| 6 | +import angular_app_component_html from './angular/app_component_html.md'; |
| 7 | +import angular_app_component_ts from './angular/app_component_ts.md'; |
| 8 | +import angular_page_one_component_ts from './angular/page_one_component_ts.md'; |
| 9 | +import angular_page_two_component_ts from './angular/page_two_component_ts.md'; |
| 10 | +import angular_page_three_component_ts from './angular/page_three_component_ts.md'; |
| 11 | + |
| 12 | +import react_main_tsx from './react/main_tsx.md'; |
| 13 | +import react_page_one_tsx from './react/page_one_tsx.md'; |
| 14 | +import react_page_two_tsx from './react/page_two_tsx.md'; |
| 15 | +import react_page_three_tsx from './react/page_three_tsx.md'; |
| 16 | + |
| 17 | +import vue_example from './vue/example_vue.md'; |
| 18 | +import vue_page_one from './vue/page_one_vue.md'; |
| 19 | +import vue_page_two from './vue/page_two_vue.md'; |
| 20 | +import vue_page_three from './vue/page_three_vue.md'; |
| 21 | + |
| 22 | +<Playground |
| 23 | + code={{ |
| 24 | + javascript, |
| 25 | + angular: { |
| 26 | + files: { |
| 27 | + 'src/app/app.component.html': angular_app_component_html, |
| 28 | + 'src/app/app.component.ts': angular_app_component_ts, |
| 29 | + 'src/app/page-one.component.ts': angular_page_one_component_ts, |
| 30 | + 'src/app/page-two.component.ts': angular_page_two_component_ts, |
| 31 | + 'src/app/page-three.component.ts': angular_page_three_component_ts, |
| 32 | + 'src/app/app.module.ts': angular_app_module_ts, |
| 33 | + }, |
| 34 | + }, |
| 35 | + react: { |
| 36 | + files: { |
| 37 | + 'src/main.tsx': react_main_tsx, |
| 38 | + 'src/page-one.tsx': react_page_one_tsx, |
| 39 | + 'src/page-two.tsx': react_page_two_tsx, |
| 40 | + 'src/page-three.tsx': react_page_three_tsx, |
| 41 | + }, |
| 42 | + }, |
| 43 | + vue: { |
| 44 | + files: { |
| 45 | + 'src/components/Example.vue': vue_example, |
| 46 | + 'src/components/PageOne.vue': vue_page_one, |
| 47 | + 'src/components/PageTwo.vue': vue_page_two, |
| 48 | + 'src/components/PageThree.vue': vue_page_three, |
| 49 | + }, |
| 50 | + }, |
| 51 | + }} |
| 52 | + src="usage/nav/nav-link/demo.html" |
| 53 | + devicePreview |
| 54 | +/> |
0 commit comments