강의

멘토링

커뮤니티

Inflearn Community Q&A

didgp23061221's profile image
didgp23061221

asked

Creating a Simple To-Do Application with Angular Basics

Module Overview (1)

Uncaught ReferenceError: SystemJS is not defined이 뜹니다

Written on

·

845

4

<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>FirstApp</title>
  <base href="/">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <script src="https://unpkg.com/systemjs/dist/system.js"></script>
  <script>
    SystemJS.config({
      baseURL:'/first-app/sec/module',
      transpiler: 'plugin-babel',
      map:{
        'plugin-babel':'https//unpkg.com/systemjs-plugin-babel/plugin-babel.js',
        'systemjs-babel-build':'https//unpkg.com/systemjs-plugin-babel/systemjs-babel-brower.js'
      }
    });
    SystemJS.import('main.js');
  </script>  

</head>
<body>
  <app-root>Loading...</app-root>
</body>
</html>
Angular

Answer 3

2

저도 같은 문제가 발생합니다ㅠㅠ 혹시 해결하셨나요??

SystemJS 최신버전에선 강의에서 사용된 함수 호출에 문제가 있어 보입니다.
0.21.5 버전을 사용해 보세요.

<script src="https://unpkg.com/systemjs@0.21.5/dist/system.js"></script>

0

SystemJS 최신버전에선 강의에서 사용된 함수 호출에 문제가 있어 보입니다.
0.21.5 버전을 사용해 보세요.

<script src="https://unpkg.com/systemjs@0.21.5/dist/system.js"></script>

0

'/f irst-app/sec/module'  -> '/f irst-app/src/module'

didgp23061221's profile image
didgp23061221

asked

Ask a question