무료
다른 수강생들이 자주 물어보는 질문이 궁금하신가요?
- 미해결Angular 기본과 간단한 To-Do 어플리케이션 만들기
컴포넌트 커뮤니케이션 강의 질문
해당 강의 예제를 똑같이 따라한것같은데 결과가 달라서 질문드립니다.@input 예제까지는 잘 따라왔는데 @output 예제에서 <app-add-todo>를 추가하면 처음로딩시 <app-todo> 태그 데이터가 아래 이미지와 같이 나오고 클릭시 하나씩 데이터가 보여집니다.
- 미해결Angular 기본과 간단한 To-Do 어플리케이션 만들기
Uncaught ReferenceError: SystemJS is not defined
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>ToDo</title> <base href="/"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="icon" type="image/x-icon" href="favicon.ico"> <script src="https://unpkg.com/systemjs/dist/system.js"></script> <script> SystemJS.config({ baseURL: '/toDo/src/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-browser.js' } }); SystemJS.import('main.js'); </script> </head> <body> <app-root>Lodaing</app-root> </body> </html> 강의 내용대로 작성했는데 SystemJS를 못 찾는다고 나오네요 ㅠㅠㅠ 뭐가 잘못된 걸까요??
- 미해결Angular 기본과 간단한 To-Do 어플리케이션 만들기
4:00
어떤 내용인가요? 제가 지식이 많이 부족해 이해하지 못하였스빈다
- 미해결Angular 기본과 간단한 To-Do 어플리케이션 만들기
Uncaught ReferenceError: SystemJS is not defined이 뜹니다
<!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 기본과 간단한 To-Do 어플리케이션 만들기
이클립스로는 못여나요?
이클립스로 켰더니 ts 파일이 안열리네요
- 미해결Angular 기본과 간단한 To-Do 어플리케이션 만들기
다음 페이지 요청
다음 페이지 요청이 올 때 사용자 세션에서 웹 페이지를 보내준다고 강의에서 말씀하신것 같은데요.다음이 아닌 구글이나 네이버에 페이지 요청이 오면 웹 페이지를 어디서 보내주나요?다음이 보편적인 기술을 가지고 있어서 이 강의에서는 다음을 예로들어 웹 페이지를 설명하는건가요?
- 미해결Angular 기본과 간단한 To-Do 어플리케이션 만들기
실행은 되는데 SyntaxError가 발생합니다.
어떻게 어떻게 해서 console.log에 메세지는 찍는데 아래와 같은 에러가 발생합니다.import { greeting } from 'greeting.js' <--Uncaught SyntaxError: Unexpected token import뭐가 잘못됐는지 모르겠네요?
- 미해결Angular 기본과 간단한 To-Do 어플리케이션 만들기
todo.components.ts에서 check박스가 center로 맞춰지지 않아요.
text-align을 center로 맞췄습니다.horizontal로는 center인데vertical로는 center가 아니네요.뭐가 원인인걸까요? input { position: relative; } input:before { content: ""; display: inline-block; width: 20px; height: 20px; background-color: white; border-radius: 20px; position: absolute; top: -6px; left: -8px; border: 1px solid dimgray; } input:checked:after { content: '\\2713'; display: inline-block; font-size 18px; width: 20px; height: 20px; border-radius: 20px; position: absolute; top: -6px; left: -8px; border: 1px solid dimgray; background-color: dimgray; text-align: center; color: white; }
- 미해결Angular 기본과 간단한 To-Do 어플리케이션 만들기
저도 main.js를 못찾는다고 나옵니다.
오류문구 Angular is running in the development mode. Call enableProdMode() to enable the production mode. system.js:4 GET http://localhost:4200/first-app/src/module/main.js 404 (Not Found) system.js:4 Uncaught (in promise) Error: Fetch error: 404 Not Found Instantiating http://localhost:4200/first-app/src/module/main.js Loading main.js at system.js:4 at 제가 작성 코드를 아무리 봐도 오타가 안보이는데, 왜 main.js를 못찾는건지 모르겠습니다 SystemJS.config({ baseURL: '/first-app/src/module', transpiler: 'plugin-babel', map: { 'plugin-babel' : 'https://unpkg.com/systemjs-plugin-babel/plugin-babel.js', 'systemjs-bael-build' : 'https://unpkg.com/systemjs-plugin-babel/systemjs-babel-browser.js' } }); SystemJS.import('main.js');
- 미해결Angular 기본과 간단한 To-Do 어플리케이션 만들기
localhost:4200/proj-name/src/module/main.js 를 찾을수없다고 뜹니다.
강의 내용대로 따라했는데 baseURL을 main.js가 있는 path대로(localhost:4200/proj-name/src/module/main.js) 적었는대도 main.js를 찾을수 없다고 뜨네요. 404에러가 뜹니다. 이유가 무엇일까요?