Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tutorial-conway-life-t5
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
COSC360 in 2018
tutorial-conway-life-t5
Commits
3820163e
Commit
3820163e
authored
6 years ago
by
Will Billingsley
Browse files
Options
Downloads
Patches
Plain Diff
Added part about setting the version of vue that includes the compiler
parent
55a64618
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+17
-1
17 additions, 1 deletion
README.md
with
17 additions
and
1 deletion
README.md
+
17
−
1
View file @
3820163e
...
@@ -26,7 +26,23 @@ Open `index.html` in the browser, and you should find yourself faced with Conway
...
@@ -26,7 +26,23 @@ Open `index.html` in the browser, and you should find yourself faced with Conway
## Install loaders for Vue or React
## Install loaders for Vue or React
If you're using Vue, the tutorial last week should already have installed the relevant npm modules: vue and vue-loader.
If you're using Vue, install the modules for vue:
```
sh
npm
install
--save-dev
vue vue-class-component vue-property-decorator
```
You'll also need to alter
`webpack.config.js`
to load the version of Vue that includes the template compiler. Change the
`resolve`
block to:
```
js
resolve
:
{
extensions
:
[
'
.ts
'
,
'
.js
'
,
'
.vue
'
,
'
.json
'
],
alias
:
{
'
vue$
'
:
'
vue/dist/vue.esm.js
'
}
},
```
If you're using React, though, you'll need to install the modules for react:
If you're using React, though, you'll need to install the modules for react:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment