What do you want to save?
Add Code snippet
New code examples
-
CSS 2021-10-16 20:03:09
vue import css scoped
// To import global CSS, simply import the stylesheet in main.js or App.vue, // where it is easy to reference all global styles in one main file // (or create a styles-import.js file and import that file in your main.js file). // main.js import '~/asse... Add solution -
Javascript 2021-10-13 20:12:06
load a component on button click react
import React from 'react'; import Grid from '@material-ui/core/Grid'; import Button from '@material-ui/core/Button'; import CssBaseline from '@material-ui/core/CssBaseline'; import Card from '@material-ui/core/Card'; import CardContent from '@material-ui/... Add solution -
Javascript 2021-09-13 03:33:03
React alert popup
import { confirmAlert } from 'react-confirm-alert'; // Import import 'react-confirm-alert/src/react-confirm-alert.css'; // Import css class App extends React.Component { submit = () => { confirmAlert({ title: 'Confirm to submit', mes... Add solution -
Javascript 2021-09-06 00:15:02
adding mui theme to index.js
import React from 'react'; import { render } from 'react-dom'; import { MuiThemeProvider, createMuiTheme } from '@material-ui/core/styles'; import CssBaseline from "@material-ui/core/CssBaseline"; import Root from './Root'; const theme = create... Add solution
Best helpers
Ranking is empty