Skip to content

Commit 6885b11

Browse files
committed
use filename Component.ripple
1 parent 35d6186 commit 6885b11

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

docs/docs/languages/ripple.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export const customRoot = {
102102

103103
### Manual Mount
104104

105-
Exports from Ripple code can be imported in [markup editor](../features/projects.mdx#markup-editor) from `"./script"` and used to mount the application instance manually.
105+
Exports from Ripple code can be imported in [markup editor](../features/projects.mdx#markup-editor) from `"./Component.ripple"` and used to mount the application instance manually.
106106
See [Exports](#exports) for details.
107107

108108
Example:
@@ -116,7 +116,7 @@ export const manualMount = {
116116
117117
<script type="module">
118118
import { mount } from 'ripple';
119-
import { App } from "./script";
119+
import { App } from "./Component.ripple";
120120
121121
mount(App, {
122122
props: { name: 'Ripple' },

src/livecodes/languages/ripple/lang-ripple-compiler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { pkgInfoService } from '../../services/pkgInfo';
77
import { getLanguageByAlias } from '../utils';
88

99
(self as any).createRippleCompiler = async (initialConfig: Config): Promise<CompilerFunction> => {
10-
const MAIN_FILE = '__LiveCodes_App__.ripple';
10+
const MAIN_FILE = 'Component.ripple';
1111
let importedContent = '';
1212
let imports: Record<string, string> = {};
1313

0 commit comments

Comments
 (0)