#![warn(missing_docs)]
use iris_core;
use iris_js;
pub fn init() {
iris_core::init();
iris_js::init();
println!("iris-sfc initialized");
}
pub mod ts {
pub fn transpile(_source: &str) -> String {
String::new()
}
}
pub mod sfc {
pub fn parse_sfc(_source: &str) -> SfcDescriptor {
SfcDescriptor {
template: String::new(),
script: String::new(),
style: String::new(),
}
}
pub struct SfcDescriptor {
pub template: String,
pub script: String,
pub style: String,
}
pub fn compile_template(_template: &str) -> String {
String::new()
}
}
pub mod style {
pub fn inject_style(_css: &str) {
}
}