将Clarity Design System从他们的官方教程添加到角度为2 5min的快速入门后,我收到了这个错误.浏览器控制台中的错误没有太大帮助,请问有什么建议吗?
zone.js:1382 GET http://localhost:3000/clarity-angular 404 (Not Found)
Error: (SystemJS) XHR error (404 Not Found) loading http://localhost:3000/clarity-angular(…)
Run Code Online (Sandbox Code Playgroud)
app.module.ts
import {NgModule} from '@angular/core';
import {BrowserModule} from '@angular/platform-browser';
import {ClarityModule} from 'clarity-angular';
import {AppComponent} from './app.component';
@NgModule({
imports: [BrowserModule,
ClarityModule],
declarations: [AppComponent],
bootstrap: [AppComponent]
})
export class AppModule {
}
Run Code Online (Sandbox Code Playgroud)
的index.html
<!DOCTYPE html>
<html>
<head>
<title>Angular QuickStart</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="node_modules/clarity-icons/clarity-icons.min.css">
<script src="node_modules/mutationobserver-shim/dist/mutationobserver.min.js"></script>
<script src="node_modules/@webcomponents/custom-elements/custom-elements.min.js"></script>
<script src="node_modules/clarity-icons/clarity-icons.min.js"></script>
<link rel="stylesheet" …Run Code Online (Sandbox Code Playgroud)