Commit ·
4d1de3b
1
Parent(s): ebac8e2
修改scss没提示问题
Browse files- ndcc/_cms/_.js +3 -2
- ndcc/_cms/layout/style.js +0 -2
- ndcc/_cms/routeCode/index.js +0 -2
- ndcc/_cms/table/index.js +0 -1
- ndcc/next.js +1 -1
- src/pages/web/Zi5iE_t6r4hRvBtP/index.js +1 -1
ndcc/_cms/_.js
CHANGED
|
@@ -3,11 +3,12 @@ import useSWR ,{ mutate } from 'swr';
|
|
| 3 |
const Lz = require('lz-string');
|
| 4 |
import Moment from 'moment';
|
| 5 |
const clipboard = require('copy-to-clipboard');
|
| 6 |
-
const lodash = require('lodash');
|
| 7 |
import CircularProgress from '@mui/material/CircularProgress';
|
| 8 |
import { styled } from '@mui/material/styles';
|
| 9 |
import {useState,useEffect} from 'react';
|
| 10 |
-
const _ = Object.assign(lodash,{
|
|
|
|
|
|
|
| 11 |
|
| 12 |
Moment,
|
| 13 |
|
|
|
|
| 3 |
const Lz = require('lz-string');
|
| 4 |
import Moment from 'moment';
|
| 5 |
const clipboard = require('copy-to-clipboard');
|
|
|
|
| 6 |
import CircularProgress from '@mui/material/CircularProgress';
|
| 7 |
import { styled } from '@mui/material/styles';
|
| 8 |
import {useState,useEffect} from 'react';
|
| 9 |
+
const _ = Object.assign(require('lodash'),{
|
| 10 |
+
|
| 11 |
+
test:'123123',
|
| 12 |
|
| 13 |
Moment,
|
| 14 |
|
ndcc/_cms/layout/style.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
| 1 |
-
import _ from "lodash"
|
| 2 |
-
|
| 3 |
export default function App(props){
|
| 4 |
|
| 5 |
const Style = _.styled('div')({
|
|
|
|
|
|
|
|
|
|
| 1 |
export default function App(props){
|
| 2 |
|
| 3 |
const Style = _.styled('div')({
|
ndcc/_cms/routeCode/index.js
CHANGED
|
@@ -32,10 +32,8 @@ import {useState,useEffect} from 'react';
|
|
| 32 |
import dynamic from 'next/dynamic';
|
| 33 |
const MonacoEditor = dynamic(() => import('react-monaco-editor'), { ssr: false });
|
| 34 |
import CodeHistory from '../codeHistory';
|
| 35 |
-
import _ from 'lodash';
|
| 36 |
const io = require('socket.io-client');
|
| 37 |
|
| 38 |
-
|
| 39 |
function App(props={}) {
|
| 40 |
|
| 41 |
const classes = useStyles();
|
|
|
|
| 32 |
import dynamic from 'next/dynamic';
|
| 33 |
const MonacoEditor = dynamic(() => import('react-monaco-editor'), { ssr: false });
|
| 34 |
import CodeHistory from '../codeHistory';
|
|
|
|
| 35 |
const io = require('socket.io-client');
|
| 36 |
|
|
|
|
| 37 |
function App(props={}) {
|
| 38 |
|
| 39 |
const classes = useStyles();
|
ndcc/_cms/table/index.js
CHANGED
|
@@ -114,7 +114,6 @@ import ErrorOutlineIcon from '@mui/icons-material/ErrorOutline';
|
|
| 114 |
import dynamic from 'next/dynamic';
|
| 115 |
import Tooltip from '@mui/material/Tooltip';
|
| 116 |
import CircularProgress from '@mui/material/CircularProgress';
|
| 117 |
-
import _ from 'lodash';
|
| 118 |
function App(props={}) {
|
| 119 |
|
| 120 |
const classes = useStyles();
|
|
|
|
| 114 |
import dynamic from 'next/dynamic';
|
| 115 |
import Tooltip from '@mui/material/Tooltip';
|
| 116 |
import CircularProgress from '@mui/material/CircularProgress';
|
|
|
|
| 117 |
function App(props={}) {
|
| 118 |
|
| 119 |
const classes = useStyles();
|
ndcc/next.js
CHANGED
|
@@ -18,7 +18,7 @@ const Next = withPWA({
|
|
| 18 |
if (!isServer) {
|
| 19 |
config.plugins.push(
|
| 20 |
new MonacoWebpackPlugin({
|
| 21 |
-
languages: ["javascript","css","json"],
|
| 22 |
filename: "static/[name].worker.js",
|
| 23 |
})
|
| 24 |
);
|
|
|
|
| 18 |
if (!isServer) {
|
| 19 |
config.plugins.push(
|
| 20 |
new MonacoWebpackPlugin({
|
| 21 |
+
languages: ["javascript","css","scss","json"],
|
| 22 |
filename: "static/[name].worker.js",
|
| 23 |
})
|
| 24 |
);
|
src/pages/web/Zi5iE_t6r4hRvBtP/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import style from './style.module.scss';
|
|
| 3 |
import Container from './style';
|
| 4 |
export default (props) =>{
|
| 5 |
return (
|
| 6 |
-
<Container>
|
| 7 |
<div className={style.root}>
|
| 8 |
<h1>Hello test1!</h1>
|
| 9 |
</div>
|
|
|
|
| 3 |
import Container from './style';
|
| 4 |
export default (props) =>{
|
| 5 |
return (
|
| 6 |
+
<Container c>
|
| 7 |
<div className={style.root}>
|
| 8 |
<h1>Hello test1!</h1>
|
| 9 |
</div>
|