Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Latest commit 845b2e6 May 15, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc
public
src
tests/unit Layout auf den neuesten Stand gebracht May 7, 2019
.browserslistrc
.deployWebApp.conf
.env
.gitignore
.rsync
README.md Packages auf den neutesten Stand gebracht May 7, 2019
build.jenkins
jest.config.js Initial release Mar 15, 2019
package.json
postcss.config.js
prettier.config.js Initial release Mar 15, 2019
tsconfig.json Layout auf den neuesten Stand gebracht May 7, 2019
tslint.json Layout auf den neuesten Stand gebracht May 7, 2019
vue.config.js Layout auf den neuesten Stand gebracht May 7, 2019

README.md

VUE Typescript Starter

Live | Home GitHub

Basically this App has three components: AppHeader, AppFooter, HelloWorld (for testing) and two views: Home + About.

In .env is the title define - check it out.

'Click' modifies and displays text in the lower right

The cat on the top right is add statically, the Lamborghini is added dynamically. (AppHeader component)

For State Management I added a "CounterModule" (Vuex)

Screenshot

Environment-Vars and Template-Vars

These vars are set in vue.config.js

If you want to see how you can use e.g. process.env.VUE_APP_VERSION check out AppFooter.vue

/public/index.html tests if VUE_APP_DEV_MODE is set to true:

...
<html lang="en" <%if(VUE_APP_DEV_MODE){%>
    devmode="true"<%}%>> ...
</html>

Install

# Clone Repo
git clone https://github.com/MikeMitterer/vue-ts-starter SpaceInvaders

# Remove original .git-dir
cd SpaceInvaders && rm -rf .git

# Change project name
sed -i'' -e 's/@mmit\/vuetsstarter/your-project-name/g' package.json

# e.g.
sed -i'' -e 's/@mmit\/vuetsstarter/@mmit\/spaceinvaders/g' package.json

Project setup

yarn install

Compiles and hot-reloads for development

yarn run start

Compiles and minifies for production

yarn run build

Run your tests

yarn run test

Lints and fixes files

yarn run lint

Run your unit tests

yarn run test:unit

Customize configuration

See Configuration Reference.

You can’t perform that action at this time.