mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 22:25:12 +00:00
parent
5aa4120c3d
commit
1f85b2dd13
@ -51,8 +51,10 @@ export default function webpackBaseConfig ({ isClient, isServer }) {
|
|||||||
'~~': join(this.options.rootDir),
|
'~~': join(this.options.rootDir),
|
||||||
'@': join(this.options.srcDir),
|
'@': join(this.options.srcDir),
|
||||||
'@@': join(this.options.rootDir),
|
'@@': join(this.options.rootDir),
|
||||||
'static': join(this.options.srcDir, 'static'), // use in template with <img src="~static/nuxt.png" />
|
'static': join(this.options.srcDir, 'static'),
|
||||||
'assets': join(this.options.srcDir, 'assets') // use in template with <img src="~assets/nuxt.png" />
|
'~static': join(this.options.srcDir, 'static'),
|
||||||
|
'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