What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-10-26 09:18:12
how to access array datat in class component react
import React, { Component } from 'react' import './TourList.scss'; import Tour from '../Tour/Tour'; import { tourData } from './tourData'; //impoert array of data export default class TourList extends Component { state={ tours:tourData // s... Add solution -
Shell/Bash 2021-10-26 08:05:23
node sass generate css
node-sass src/my-styles.scss -o src Add solution -
CSS 2021-10-25 03:23:07
sass use variables from another file
// When importing the master, you leave out the underscore, and it // will look for a file with the underscore. This prevents the SCSS // compiler from generating a CSS file from it. @import "assets/master"; // Then do the rest of my CSS afterw... Add solution -
Other 2021-10-21 15:46:19
tailwind 2 on rails 6
Step 1 # Tailwind 2 For rails 6. (currently working 2021/03/13) Step 2 # Create a new rails app Step 3 # Run the following: yarn add tailwindcss@npm:@tailwindcss/postcss7-compat @tailwindcss/postcss7-compat postcss@^7 autoprefixer@^9 Step 4 # Go to 'ap... Add solution