better import paths
This commit is contained in:
@@ -64,12 +64,12 @@ initialize({
|
|||||||
initLocalStorage();
|
initLocalStorage();
|
||||||
queueMicrotask(() => {
|
queueMicrotask(() => {
|
||||||
Promise.all([
|
Promise.all([
|
||||||
import('../src/components'),
|
import('../src/components/index.js'),
|
||||||
import('../src/directives'),
|
import('../src/directives/index.js'),
|
||||||
import('../src/widgets'),
|
import('../src/widgets/index.js'),
|
||||||
import('../src/theme'),
|
import('../src/theme.js'),
|
||||||
import('../src/preferences'),
|
import('../src/preferences.js'),
|
||||||
import('../src/os'),
|
import('../src/os.js'),
|
||||||
]).then(([{ default: components }, { default: directives }, { default: widgets }, { applyTheme }, { prefer }, os]) => {
|
]).then(([{ default: components }, { default: directives }, { default: widgets }, { applyTheme }, { prefer }, os]) => {
|
||||||
setup((app) => {
|
setup((app) => {
|
||||||
moduleInitialized = true;
|
moduleInitialized = true;
|
||||||
|
Reference in New Issue
Block a user