mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
refactorized Loader
This commit is contained in:
parent
7b0bcf7bf6
commit
2aa02a5009
@ -4,7 +4,7 @@ const { resolve, join } = require('path');
|
||||
export default defineConfig({
|
||||
hash: false,
|
||||
dynamicImport: {
|
||||
loading: 'components/Loader/Loader.js',
|
||||
loading: 'components/Loader',
|
||||
},
|
||||
// dynamicImport: false,
|
||||
// history: { type: "hash" },
|
||||
|
@ -1,6 +1,6 @@
|
||||
import React from 'react'
|
||||
import classNames from 'classnames'
|
||||
import styles from './Loader.less'
|
||||
import styles from './index.less'
|
||||
|
||||
const Loader = (loading) => {
|
||||
return (
|
@ -2,7 +2,7 @@
|
||||
|
||||
// Helpers & Misc
|
||||
import * as Icons from './Icons'
|
||||
import Loader from './Loader/Loader.js'
|
||||
import Loader from './Loader'
|
||||
import About from './About'
|
||||
import * as Feather from 'feather-reactjs'
|
||||
import Invalid from './Invalid'
|
||||
|
Loading…
x
Reference in New Issue
Block a user