Skip to content

Commit

Permalink
fix: add counter.ts file
Browse files Browse the repository at this point in the history
  • Loading branch information
pdanpdan committed Nov 18, 2023
1 parent 8d7ccb5 commit 7469877
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { locale } from './utils/locale';
import mainCode from './templates/main.ts?raw';
import bootCode from './templates/boot.ts?raw';
import appCode from './templates/App.vue?raw';
import counterCode from './templates/counter.ts?raw';
import settingsCode from './templates/QuasarSettings.vue?raw';
import tsconfigCode from './templates/tsconfig.json?raw';

Expand Down Expand Up @@ -37,6 +38,7 @@ const TSCONFIG = 'tsconfig.json';
const mainFile = 'src/main.ts';
const bootFile = 'src/boot.ts';
const appFile = 'src/App.vue';
const counterFile = 'src/counter.ts';
const settingsFile = 'src/QuasarSettings.vue';

const pkgPathMap: Record<string, string | PathMeta> = {
Expand Down Expand Up @@ -109,6 +111,7 @@ export function useReplStore( options: ReplOptions = {} ) {
} else {
files[ bootFile ] = new File( bootFile, bootCode );
files[ appFile ] = new File( appFile, appCode );
files[ counterFile ] = new File( counterFile, counterCode );
}

for ( const name of Object.keys( internalFiles ) ) {
Expand Down

0 comments on commit 7469877

Please sign in to comment.