Help

Re: Cannot import css files

Solved
Jump to Solution
1201 0
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.