refactorized Loader

This commit is contained in:
srgooglo 2020-10-16 13:39:12 +02:00
parent 7b0bcf7bf6
commit 2aa02a5009
4 changed files with 3 additions and 3 deletions

View File

@ -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" },

View File

@ -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 (

View File

@ -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'