mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-04 11:27:13 +00:00
vue template support ~/assets and ~/static
(So that Vue's <template> and <style> tags support ~/assets and ~/static )[https://github.com/nuxt/nuxt.js/issues/1241]
This commit is contained in:
parent
f22c16a7a4
commit
18995ac509
@ -53,9 +53,9 @@ export default function webpackBaseConfig ({ isClient, isServer }) {
|
|||||||
'@': join(this.options.srcDir),
|
'@': join(this.options.srcDir),
|
||||||
'@@': join(this.options.rootDir),
|
'@@': join(this.options.rootDir),
|
||||||
'static': join(this.options.srcDir, 'static'),
|
'static': join(this.options.srcDir, 'static'),
|
||||||
'~static': join(this.options.srcDir, 'static'),
|
'/static': join(this.options.srcDir, 'static'),
|
||||||
'assets': join(this.options.srcDir, 'assets'),
|
'assets': join(this.options.srcDir, 'assets'),
|
||||||
'~assets': join(this.options.srcDir, 'assets')
|
'/assets': join(this.options.srcDir, 'assets')
|
||||||
},
|
},
|
||||||
modules: [
|
modules: [
|
||||||
this.options.modulesDir,
|
this.options.modulesDir,
|
||||||
|
Loading…
Reference in New Issue
Block a user