mirror of
https://github.com/aleleba/create-react-ssr.git
synced 2025-07-06 20:58:30 -06:00
PR-753737: Se agrega ESLint a webpack.
This commit is contained in:
src
.eslintignore.eslintrc.jsPRNameGenerator.ts
config
frontend
package-lock.jsonpackage.jsonroutes
server
webpack.config.dev.jswebpack.config.js@ -1,16 +1,16 @@
|
||||
import React from "react";
|
||||
import InitialComponent from "../frontend/components/InitialComponent";
|
||||
import OtherComponent from "../frontend/components/OtherComponent";
|
||||
import React from 'react';
|
||||
import InitialComponent from '../frontend/components/InitialComponent';
|
||||
import OtherComponent from '../frontend/components/OtherComponent';
|
||||
|
||||
const OTHER_COMPONENT = {
|
||||
path: 'other-component',
|
||||
element: <OtherComponent />
|
||||
}
|
||||
path: 'other-component',
|
||||
element: <OtherComponent />
|
||||
};
|
||||
|
||||
const INITIAL_COMPONENT = {
|
||||
path: '/',
|
||||
element: <InitialComponent />,
|
||||
}
|
||||
path: '/',
|
||||
element: <InitialComponent />,
|
||||
};
|
||||
|
||||
|
||||
export default [ INITIAL_COMPONENT, OTHER_COMPONENT ]
|
||||
export default [ INITIAL_COMPONENT, OTHER_COMPONENT ];
|
||||
|
Reference in New Issue
Block a user