DENVIRONMENT
This project creates all the necessary tools to create a TypeScript development environment.
Create Development Environment
Run denv create PROJECT_NAME
to create a development environment. It will automagically install all necessary tools to run typescript + webpack + webpack-dev-server. Then just cd PROJECT_NAME
and start editing. Adittionally inside the folder we have to other commands:
Development server
Run npm run serve
for a dev server. Navigate to http://localhost:8080/
. The app will automatically reload if you change any of the source files.
Build
Run npm run build
to build the project. The build artifacts will be stored in the dist/
directory. This is a production build.