Skip to main content
Solved

Cannot import css files

  • June 8, 2020
  • 1 reply
  • 4 views

My reactjs application is running successfully.

now I need to import css file (styles.css)

when I run the code after adding import "./styles.css"; it displays error unexpected token .

import {initializeBlock, Input, useBase, useRecords} from '@airtable/blocks/ui';
import React, { Component, useState } from "react";
import ReactDOM from 'react-dom';
import "./styles.css";

class  Access extends React.Component {

//content goes here

}

I

Best answer by Matthew_Thomas

@Kasra answered this question in the thread linked below.

View original
Did this topic help you find an answer to your question?

1 reply

Forum|alt.badge.img+13

@Kasra answered this question in the thread linked below.


Reply