leviroutes
A basic routes framework for JS that hooks in to HTML5 history
파일 탐색기
- copilot-instructions.md
- example.html
- page2.html
- index.html
- example.html
- post2.html
- index.html
- middleware-example.html
- index.html
- README.md
- jasmine-html.js
- jasmine.css
- jasmine.js
- json2.js
- dom-helper.mjs
- jasmine.json
- middleware.spec.mjs
- routeexecution.spec.mjs
- routemanagement.spec.mjs
- routeparsing.spec.mjs
- routesframework.spec.mjs
- routes.js
- middleware.js
- routeexection.js
- routemanagement.js
- routeparsing.js
- routesframework.js
- .gitignore
- LICENCE
- package-lock.json
- package.json
- README.md
- SpecRunner.html
# CDN으로 사용하기
jsDelivrjsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.
명령어 용어집
이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.
next
설명 보기 ▼
next
서버사이드 렌더링을 사용하여 최적화된 웹 애플리케이션을 구축하는 React 프레임워크.
더 많은 정보: <https://nextjs.org/docs/app/api-reference/cli/next>.
next dev
현재 애플리케이션을 개발 모드로 시작:
next dev {{[-p|--port]}} {{port}}
현재 애플리케이션을 특정 포트에서 시작:
next build
프로덕션에 맞게 최적화된 애플리케이션 빌드:
npm install
설명 보기 ▼
npm install
Install Node packages.
npm {{[i|install]}}
Install dependencies listed in `package.json`:
npm {{[i|install]}} {{package_name}}@{{version}}
Download a specific version of a package and add it to the list of dependencies in `package.json`:
npm {{[i|install]}} {{package_name}} {{[-D|--save-dev]}}
Download the latest version of a package and add it to the list of dev dependencies in `package.json`:
npm run
설명 보기 ▼
npm run
Run a script.
npm run
List available scripts:
npm run {{script_name}}
Run a script:
npm run {{script_name}} -- {{argument}} {{--option}}
Pass arguments to a script:
npm test
설명 보기 ▼
npm test
This command is an alias of `npm run test`.
tldr npm run
View documentation for the original command:
script
설명 보기 ▼
script
터미널 출력을 파일로 기록합니다.
더 많은 정보: <https://manned.org/script>.
script
현재 디렉토리의 `typescript`라는 이름의 파일에 새 세션 기록:
exit
사용자 지정 파일 경로에 새 세션 기록:
script {{path/to/session.out}}
기존 파일에 추가하여 새 세션 기록:
