refactor main.js into smaller pieces, and moved navbar.js to assets
This commit is contained in:
parent
fd8eeb3330
commit
177dffe553
19 changed files with 214 additions and 207 deletions
7
assets/scripts/features/index.js
Normal file
7
assets/scripts/features/index.js
Normal file
|
@ -0,0 +1,7 @@
|
|||
if (process.env.FEATURE_VIDEOPLAYER) {
|
||||
import('./videoplayer');
|
||||
}
|
||||
|
||||
if (process.env.FEATURE_TOC) {
|
||||
import('./toc');
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue