mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 14:44:43 -04:00
Basic setup for Vue app
This commit is contained in:
parent
a06fad974e
commit
99dd107724
7 changed files with 56 additions and 1 deletions
|
@ -338,7 +338,7 @@ module.exports = {
|
|||
path.resolve(__dirname, 'src'),
|
||||
path.resolve(__dirname, 'node_modules')
|
||||
],
|
||||
extensions: ["", ".js"],
|
||||
extensions: ["", ".js", ".vue"],
|
||||
alias: {
|
||||
codemirror: path.join(__dirname, 'node_modules/codemirror/codemirror.min.js'),
|
||||
inlineAttachment: path.join(__dirname, 'public/vendor/inlineAttachment/inline-attachment.js'),
|
||||
|
@ -372,6 +372,12 @@ module.exports = {
|
|||
loaders: [{
|
||||
test: /\.json$/,
|
||||
loader: 'json-loader'
|
||||
}, {
|
||||
test: /\.vue$/,
|
||||
loader: 'vue',
|
||||
options: {
|
||||
// vue-loader options go here
|
||||
}
|
||||
}, {
|
||||
test: /\.js$/,
|
||||
loader: 'babel',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue