source_importer 0.0.7
source_importer: ^0.0.7 copied to clipboard
Import .html .css .scss .sass files as function in sourcepack
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add source_importerThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
source_importer: ^0.0.7Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:source_importer/source_importer.dart';