Help

The Community will be temporarily unavailable starting on Friday February 28. We’ll be back as soon as we can! To learn more, check out our Announcements blog post.

Cannot import css files

Topic Labels: Extensions
Solved
Jump to Solution
2303 1
cancel
Showing results for 
Search instead for 
Did you mean: 
Fredrick_Esedo
5 - Automation Enthusiast
5 - Automation Enthusiast

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

1 Solution

Accepted Solutions
Matthew_Thomas
7 - App Architect
7 - App Architect

@Kasra answered this question in the thread linked below.

See Solution in Thread

1 Reply 1
Matthew_Thomas
7 - App Architect
7 - App Architect

@Kasra answered this question in the thread linked below.