Skip to content

Commit 24f816b

Browse files
committed
feat(slim/snippet): add snippet index
1 parent d13d083 commit 24f816b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

recipes/slim/snippets/index.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,23 @@ const { getWebPackConfig } = require('./webpack.config')
33
const rootIndex = require('./sources/index')
44
const rootApp = require('./sources/App')
55
const rootRoutes = require('./sources/Routes')
6+
const withI18n = require('./sources/withI18n')
7+
const signInModule = require('./sources/SignIn')
8+
const dashboardModule = require('./sources/Dashboard')
9+
const pageLoaderBlock = require('./sources/PageLoader')
10+
const sidebarBlock = require('./sources/Sidebar')
11+
const topBarBlock = require('./sources/TopBar')
612

713
const sourceCodes = {
814
'index.js': rootIndex,
915
'App.js': rootApp,
1016
'Routes.js': rootRoutes,
17+
'withI18n.js': withI18n,
18+
'SignIn.js': signInModule,
19+
'Dashboard.js': dashboardModule,
20+
'PageLoader.js': pageLoaderBlock,
21+
'Sidebar.js': sidebarBlock,
22+
'TopBar.js': topBarBlock,
1123
}
1224

1325
const getFileContent = (fileName) => {

0 commit comments

Comments
 (0)