我正在尝试将 js 文件与视图中的 cdn 连接,其中路径中包含 @ 符号。
@push('scripts')
<script src="https://cdn.jsdelivr.net/npm/@json-editor/json-editor@latest/dist/jsoneditor.min.js"></script>
@endpush
结果,他发誓我正在尝试这个选择。
@push('scripts')
<script src="https://cdn.jsdelivr.net/npm/@@json-editor/json-editor@@latest/dist/jsoneditor.min.js"></script>
@endpush
它停止咒骂,但不连接文件。