mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-26 07:59:48 +03:00
Move devpanel to top-level
This commit is contained in:
parent
1dcf198071
commit
afab8669d2
|
@ -1,11 +1,11 @@
|
|||
doctype html
|
||||
|
||||
html
|
||||
head
|
||||
meta(charset='UTF-8')
|
||||
title RemoteDev
|
||||
include ./includes/style.pug
|
||||
|
||||
body
|
||||
#root
|
||||
script(src='/remote.bundle.js')
|
||||
doctype html
|
||||
|
||||
html
|
||||
head
|
||||
meta(charset='UTF-8')
|
||||
title RemoteDev
|
||||
include ../../style.pug
|
||||
|
||||
body
|
||||
#root
|
||||
script(src='/remote.bundle.js')
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
doctype html
|
||||
|
||||
html
|
||||
head
|
||||
meta(charset='UTF-8')
|
||||
title Redux DevTools
|
||||
include ./includes/style.pug
|
||||
|
||||
body
|
||||
#root
|
||||
div(style='position: relative')
|
||||
img(
|
||||
src='/img/loading.svg',
|
||||
height=300, width=350,
|
||||
style='position: absolute; top: 50%; left: 50%; margin-top: -175px; margin-left: -175px;'
|
||||
)
|
||||
script(src='/window.bundle.js')
|
||||
doctype html
|
||||
|
||||
html
|
||||
head
|
||||
meta(charset='UTF-8')
|
||||
title Redux DevTools
|
||||
include ../../style.pug
|
||||
|
||||
body
|
||||
#root
|
||||
div(style='position: relative')
|
||||
img(
|
||||
src='/img/loading.svg',
|
||||
height=300, width=350,
|
||||
style='position: absolute; top: 50%; left: 50%; margin-top: -175px; margin-left: -175px;'
|
||||
)
|
||||
script(src='/window.bundle.js')
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
doctype html
|
||||
|
||||
html
|
||||
head
|
||||
meta(charset='UTF-8')
|
||||
title Redux DevTools
|
||||
include ./includes/style.pug
|
||||
style.
|
||||
body {
|
||||
min-height: 100px;
|
||||
}
|
||||
|
||||
body
|
||||
#root
|
||||
script(src='/devpanel.bundle.js')
|
||||
doctype html
|
||||
|
||||
html
|
||||
head
|
||||
meta(charset='UTF-8')
|
||||
title Redux DevTools
|
||||
include ../style.pug
|
||||
style.
|
||||
body {
|
||||
min-height: 100px;
|
||||
}
|
||||
|
||||
body
|
||||
#root
|
||||
script(src='/devpanel.bundle.js')
|
|
@ -3,13 +3,13 @@ import { createRoot, Root } from 'react-dom/client';
|
|||
import { Provider } from 'react-redux';
|
||||
import { Persistor } from 'redux-persist';
|
||||
import { REMOVE_INSTANCE, StoreAction } from '@redux-devtools/app';
|
||||
import App from '../../../app/containers/App';
|
||||
import configureStore from '../../../app/stores/panelStore';
|
||||
import App from '../app/containers/App';
|
||||
import configureStore from './store/panelStore';
|
||||
|
||||
import '../../views/devpanel.pug';
|
||||
import { Action, Store } from 'redux';
|
||||
import type { PanelMessage } from '../../../background/store/apiMiddleware';
|
||||
import { StoreStateWithoutSocket } from '../../../app/reducers/panel';
|
||||
import type { PanelMessage } from '../background/store/apiMiddleware';
|
||||
import type { StoreStateWithoutSocket } from './store/panelReducer';
|
||||
import { PersistGate } from 'redux-persist/integration/react';
|
||||
|
||||
const position = location.hash;
|
|
@ -2,8 +2,8 @@ import { createStore, applyMiddleware, Reducer } from 'redux';
|
|||
import localForage from 'localforage';
|
||||
import { persistReducer, persistStore } from 'redux-persist';
|
||||
import { exportStateMiddleware, StoreAction } from '@redux-devtools/app';
|
||||
import panelDispatcher from '../middlewares/panelSync';
|
||||
import rootReducer, { StoreStateWithoutSocket } from '../reducers/panel';
|
||||
import panelDispatcher from './panelSyncMiddleware';
|
||||
import rootReducer, { StoreStateWithoutSocket } from './panelReducer';
|
||||
|
||||
const persistConfig = {
|
||||
key: 'redux-devtools',
|
|
@ -14,7 +14,7 @@ const baseConfig = (params) => ({
|
|||
options: [mock, `${extpath}options/index`],
|
||||
window: [`${extpath}window/index`],
|
||||
remote: [`${extpath}window/remote`],
|
||||
devpanel: [mock, `${extpath}devpanel/index`],
|
||||
devpanel: [mock, '../src/devpanel/index'],
|
||||
devtools: [`${extpath}devtools/index`],
|
||||
content: [mock, `${extpath}inject/contentScript`],
|
||||
pagewrap: [`${extpath}inject/pageScriptWrap`],
|
||||
|
|
Loading…
Reference in New Issue
Block a user