mirror of
https://github.com/lowdefy/lowdefy.git
synced 2025-03-31 15:20:32 +08:00
fix: Plugin import fixes.
This commit is contained in:
parent
583ea87f2d
commit
e1becad087
@ -23,7 +23,7 @@ Object.keys(blocks).forEach((block) => {
|
||||
});
|
||||
export default {
|
||||
blocks: Object.keys(blocks),
|
||||
styles: { default: ['style.less'], ...styles },
|
||||
styles: { default: [], ...styles },
|
||||
};
|
||||
|
||||
// export default {
|
||||
|
@ -17,7 +17,7 @@
|
||||
import Link from 'next/link';
|
||||
import { createIcon } from '@lowdefy/block-utils';
|
||||
|
||||
import icons from '../plugins/icons.js';
|
||||
import icons from '../../build/plugins/icons.js';
|
||||
|
||||
export default {
|
||||
Link,
|
||||
|
@ -1,35 +0,0 @@
|
||||
/*
|
||||
Copyright 2020-2021 Lowdefy, Inc
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
/* eslint-disable import/no-duplicates */
|
||||
|
||||
import { AiOutlineFire } from 'react-icons/ai';
|
||||
import { AiOutlineRocket } from 'react-icons/ai';
|
||||
import { AiOutlineLoading3Quarters } from 'react-icons/ai';
|
||||
import { AiOutlineExclamationCircle } from 'react-icons/ai';
|
||||
import { AiOutlineExperiment } from 'react-icons/ai';
|
||||
import { FcLandscape } from 'react-icons/fc';
|
||||
import { MdIcecream } from 'react-icons/md';
|
||||
|
||||
export default {
|
||||
AiOutlineLoading3Quarters,
|
||||
AiOutlineExclamationCircle,
|
||||
AiOutlineFire,
|
||||
AiOutlineRocket,
|
||||
AiOutlineExperiment,
|
||||
FcLandscape,
|
||||
MdIcecream,
|
||||
};
|
Loading…
x
Reference in New Issue
Block a user