Skip to main content

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

@Kasra answered this question in the thread linked below.



Reply