mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 17:57:04 +08:00
Use namespaced imports
This commit is contained in:
parent
54f7a41c49
commit
18cb1b1395
|
@ -1,6 +1,6 @@
|
||||||
import Modal from 'flarum/components/Modal';
|
import Modal from 'flarum/common/components/Modal';
|
||||||
import Button from 'flarum/components/Button';
|
import Button from 'flarum/common/components/Button';
|
||||||
import Stream from 'flarum/utils/Stream';
|
import Stream from 'flarum/common/utils/Stream';
|
||||||
|
|
||||||
export default class NicknameModal extends Modal {
|
export default class NicknameModal extends Modal {
|
||||||
oninit(vnode) {
|
oninit(vnode) {
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
import { extend } from 'flarum/extend';
|
import { extend } from 'flarum/common/extend';
|
||||||
import Button from 'flarum/components/Button';
|
import Button from 'flarum/common/components/Button';
|
||||||
import EditUserModal from 'flarum/components/EditUserModal';
|
import EditUserModal from 'flarum/forum/components/EditUserModal';
|
||||||
import SettingsPage from 'flarum/components/SettingsPage';
|
import SettingsPage from 'flarum/forum/components/SettingsPage';
|
||||||
import Model from 'flarum/Model';
|
import Model from 'flarum/common/Model';
|
||||||
import User from 'flarum/models/User';
|
import User from 'flarum/common/models/User';
|
||||||
import extractText from 'flarum/utils/extractText';
|
import extractText from 'flarum/common/utils/extractText';
|
||||||
import Stream from 'flarum/utils/Stream';
|
import Stream from 'flarum/common/utils/Stream';
|
||||||
import NickNameModal from './components/NicknameModal';
|
import NickNameModal from './components/NicknameModal';
|
||||||
|
|
||||||
app.initializers.add('flarum/nicknames', () => {
|
app.initializers.add('flarum/nicknames', () => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user